#4245B1

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(45.4% 0.168 276.2), rgb(66, 69, 177).

Aa

White text reads best on this color (7.72:1).

About this color

#4245B1 is a medium-dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.168 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Blue With A Hint Of Purple (#533CC6), ΔE 0.044 away. White text reads best on it, at 7.72:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromavivid (0.168)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.71:1
White text7.72:1

Values

HEX#4245B1
RGBrgb(66, 69, 177)
HSLhsl(238, 46%, 48%)
OKLCHoklch(45.4% 0.168 276.2)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #4245B1 7.72:1 AAA Lc -91.2 Preferred for body text
Black text on #4245B1 2.71:1 Fails Lc 17.6 Dividers and decoration only
#4245B1 text on white 7.72:1 AAA Lc 86.4 Fine for body text
#4245B1 text on black 2.71:1 Fails Lc -15.7 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FE

    oklch(88.6% 0.054 276.1)

  4. Step 300

    300

    #B0BCFF

    oklch(81% 0.096 276.2)

  5. Step 400

    400

    #8895FF

    oklch(70.6% 0.155 276.4)

  6. Step 500

    500

    #6D76FF

    oklch(63% 0.2 276.2)

  7. Step 600

    600

    #585AEF

    oklch(55.6% 0.218 276.1)

  8. Step 700

    700

    #4948D0

    oklch(49.1% 0.203 276.2)

  9. Step 800

    800 (this color)

    #4245B1

    oklch(45.4% 0.168 276.2)

  10. Step 900

    900

    #323585

    oklch(37.6% 0.131 276.4)

  11. Step 950

    950

    #1D204E

    oklch(27% 0.083 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#4245B1 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0058B50.060
Deuteranopia (no green cones)#004EAF0.053
Tritanopia (no blue cones)#0060740.142
Achromatopsia (no color)#5353530.168

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #4245B1

    #4245B1

    oklch(45.4% 0.168 276.2)

  • #665600

    #665600

    oklch(45.5% 0.094 96.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4245B1

    #4245B1

    oklch(45.4% 0.168 276.2)

  • #005A93

    #005A93

    oklch(45.4% 0.117 246.3)

  • #6E339E

    #6E339E

    oklch(45.4% 0.168 306.1)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #4245B1

    #4245B1

    oklch(45.4% 0.168 276.2)

  • #7B4900

    #7B4900

    oklch(45.4% 0.101 66.5)

  • #466100

    #466100

    oklch(45.4% 0.116 126.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4245B1

    #4245B1

    oklch(45.4% 0.168 276.2)

  • #992800

    #992800

    oklch(45.3% 0.155 36.2)

  • #00683C

    #00683C

    oklch(45.5% 0.11 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4245B1

    #4245B1

    oklch(45.4% 0.168 276.2)

  • #9C1648

    #9C1648

    oklch(45.5% 0.168 6.1)

  • #665600

    #665600

    oklch(45.5% 0.094 96.6)

  • #00645D

    #00645D

    oklch(45.3% 0.079 186.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #4245B1, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #4245B1 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.