#4245C1

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(46.8% 0.189 275.2), rgb(66, 69, 193).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.189)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.85:1
White text7.36:1

Values

HEX#4245C1
RGBrgb(66, 69, 193)
HSLhsl(239, 51%, 51%)
OKLCHoklch(46.8% 0.189 275.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 #4245C1 7.36:1 AAA Lc -89.9 Fine for body text
Black text on #4245C1 2.85:1 Fails Lc 19.0 Dividers and decoration only
#4245C1 text on white 7.36:1 AAA Lc 85.0 Fine for body text
#4245C1 text on black 2.85:1 Fails Lc -17.0 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 700.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FC

    oklch(88.5% 0.052 275.7)

  4. Step 300

    300

    #AFBCFC

    oklch(80.8% 0.092 275.3)

  5. Step 400

    400

    #8797FB

    oklch(70.7% 0.147 275.1)

  6. Step 500

    500

    #6C79F8

    oklch(63% 0.188 275.3)

  7. Step 600

    600

    #575EE7

    oklch(55.6% 0.204 275.4)

  8. Step 700

    700 (this color)

    #4245C1

    oklch(46.8% 0.189 275.2)

  9. Step 800

    800

    #3A40A2

    oklch(42.7% 0.156 275)

  10. Step 900

    900

    #313781

    oklch(37.6% 0.123 275.3)

  11. Step 950

    950

    #1D214B

    oklch(27% 0.077 275.9)

Export this scale for Tailwind in the Tailwind colors tool

#4245C1 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)#005CC50.063
Deuteranopia (no green cones)#0050BF0.051
Tritanopia (no blue cones)#00657D0.155
Achromatopsia (no color)#5656560.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #4245C1

    #4245C1

    oklch(46.8% 0.189 275.2)

  • #6B5900

    #6B5900

    oklch(46.8% 0.096 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4245C1

    #4245C1

    oklch(46.8% 0.189 275.2)

  • #005F97

    #005F97

    oklch(46.9% 0.117 244.7)

  • #7430AC

    #7430AC

    oklch(46.8% 0.188 305.2)

Open the analogous palette in the generator

Split complementary

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

  • #4245C1

    #4245C1

    oklch(46.8% 0.189 275.2)

  • #814C00

    #814C00

    oklch(46.8% 0.104 65.7)

  • #4B6500

    #4B6500

    oklch(46.8% 0.118 125.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4245C1

    #4245C1

    oklch(46.8% 0.189 275.2)

  • #A12700

    #A12700

    oklch(46.7% 0.163 35.1)

  • #006C3C

    #006C3C

    oklch(46.7% 0.115 155.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4245C1

    #4245C1

    oklch(46.8% 0.189 275.2)

  • #A7004C

    #A7004C

    oklch(46.8% 0.188 5)

  • #6B5900

    #6B5900

    oklch(46.8% 0.096 95.3)

  • #006960

    #006960

    oklch(46.8% 0.083 184.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4245C1 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.