#5674EA

Closest named color: Cornflower (#6A79F7). oklch(59.8% 0.181 269.5), rgb(86, 116, 234).

Aa

Black text reads best on this color (5.08:1).

About this color

#5674EA is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.181 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.035 away. Black text reads best on it, at 5.08:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.181)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.08:1
White text4.13:1

Values

HEX#5674EA
RGBrgb(86, 116, 234)
HSLhsl(228, 78%, 63%)
OKLCHoklch(59.8% 0.181 269.5)

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 #5674EA 4.13:1 AA large text Lc -73.6 Content text, not long reading
Black text on #5674EA 5.08:1 AA Lc 36.0 Non-text elements, placeholder text
#5674EA text on white 4.13:1 AA large text Lc 68.1 Content text, not long reading
#5674EA text on black 5.08:1 AA Lc -33.6 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3EAFC

    oklch(93.7% 0.025 268.8)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #AABFFB

    oklch(81% 0.088 269.4)

  5. Step 400

    400

    #7E9BF9

    oklch(70.8% 0.142 269.6)

  6. Step 500

    500 (this color)

    #5674EA

    oklch(59.8% 0.181 269.5)

  7. Step 600

    600

    #4864E4

    oklch(55.6% 0.196 269.6)

  8. Step 700

    700

    #3A52C6

    oklch(49.1% 0.182 269.5)

  9. Step 800

    800

    #3044A0

    oklch(42.7% 0.151 269.6)

  10. Step 900

    900

    #293A7F

    oklch(37.6% 0.118 269.5)

  11. Step 950

    950

    #18234A

    oklch(27% 0.074 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#5674EA 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)#3084EE0.046
Deuteranopia (no green cones)#0076E80.052
Tritanopia (no blue cones)#008FA40.151
Achromatopsia (no color)#7D7D7D0.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #5674EA

    #5674EA

    oklch(59.8% 0.181 269.5)

  • #9C7B00

    #9C7B00

    oklch(59.8% 0.122 89.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5674EA

    #5674EA

    oklch(59.8% 0.181 269.5)

  • #0088C7

    #0088C7

    oklch(59.7% 0.136 239.6)

  • #9160DA

    #9160DA

    oklch(59.8% 0.181 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #5674EA

    #5674EA

    oklch(59.8% 0.181 269.5)

  • #BB6700

    #BB6700

    oklch(59.8% 0.141 59.5)

  • #768B00

    #768B00

    oklch(59.9% 0.142 119.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5674EA

    #5674EA

    oklch(59.8% 0.181 269.5)

  • #D64839

    #D64839

    oklch(59.8% 0.181 29.4)

  • #009A44

    #009A44

    oklch(59.9% 0.167 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5674EA

    #5674EA

    oklch(59.8% 0.181 269.5)

  • #CF447C

    #CF447C

    oklch(59.7% 0.181 359.4)

  • #9C7B00

    #9C7B00

    oklch(59.8% 0.122 89.8)

  • #009482

    #009482

    oklch(59.7% 0.108 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5674EA 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.