#4245BA

Closest named color: Blue With A Hint Of Purple (#533CC6). oklch(46.2% 0.18 275.6), rgb(66, 69, 186).

Aa

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

About this color

#4245BA is a medium-dark, vivid blue. In OKLCH its lightness is 46%, its chroma 0.180 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.034 away. White text reads best on it, at 7.52:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.180)
Temperaturecool
Nearest nameBlue With A Hint Of Purple (#533CC6)
Black text2.79:1
White text7.52:1

Values

HEX#4245BA
RGBrgb(66, 69, 186)
HSLhsl(239, 48%, 49%)
OKLCHoklch(46.2% 0.18 275.6)

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 #4245BA 7.52:1 AAA Lc -90.5 Preferred for body text
Black text on #4245BA 2.79:1 Fails Lc 18.4 Dividers and decoration only
#4245BA text on white 7.52:1 AAA Lc 85.6 Fine for body text
#4245BA text on black 2.79:1 Fails Lc -16.4 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

    #E5E9FB

    oklch(93.6% 0.025 275.9)

  3. Step 200

    200

    #D0D7FA

    oklch(88.5% 0.049 276.4)

  4. Step 300

    300

    #B0BCF9

    oklch(80.8% 0.087 275.7)

  5. Step 400

    400

    #8998F6

    oklch(70.8% 0.138 275.4)

  6. Step 500

    500

    #6E7AF3

    oklch(63% 0.179 275.7)

  7. Step 600

    600

    #5860E1

    oklch(55.6% 0.193 275.5)

  8. Step 700

    700 (this color)

    #4245BA

    oklch(46.2% 0.18 275.6)

  9. Step 800

    800

    #3C419E

    oklch(42.7% 0.148 275.8)

  10. Step 900

    900

    #32387E

    oklch(37.7% 0.117 275.6)

  11. Step 950

    950

    #1D224A

    oklch(27.1% 0.074 275)

Export this scale for Tailwind in the Tailwind colors tool

#4245BA 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)#005ABE0.062
Deuteranopia (no green cones)#004FB80.051
Tritanopia (no blue cones)#0063790.150
Achromatopsia (no color)#5454540.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #4245BA

    #4245BA

    oklch(46.2% 0.18 275.6)

  • #695700

    #695700

    oklch(46.1% 0.095 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4245BA

    #4245BA

    oklch(46.2% 0.18 275.6)

  • #005D96

    #005D96

    oklch(46.3% 0.118 245.6)

  • #7231A6

    #7231A6

    oklch(46.2% 0.18 305.9)

Open the analogous palette in the generator

Split complementary

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

  • #4245BA

    #4245BA

    oklch(46.2% 0.18 275.6)

  • #7F4A00

    #7F4A00

    oklch(46.1% 0.104 65)

  • #496300

    #496300

    oklch(46.2% 0.117 125.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4245BA

    #4245BA

    oklch(46.2% 0.18 275.6)

  • #9E2800

    #9E2800

    oklch(46.3% 0.16 35.7)

  • #006A3C

    #006A3C

    oklch(46.1% 0.112 155.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4245BA

    #4245BA

    oklch(46.2% 0.18 275.6)

  • #A20A4A

    #A20A4A

    oklch(46.1% 0.18 5.4)

  • #695700

    #695700

    oklch(46.1% 0.095 95)

  • #00675F

    #00675F

    oklch(46.2% 0.081 185.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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