#5F78BA

Closest named color: Cool Blue (#4984B8). oklch(58.2% 0.106 267.3), rgb(95, 120, 186).

Aa

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

About this color

#5F78BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.106 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.039 away. Black text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text4.88:1
White text4.30:1

Values

HEX#5F78BA
RGBrgb(95, 120, 186)
HSLhsl(224, 40%, 55%)
OKLCHoklch(58.2% 0.106 267.3)

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 #5F78BA 4.30:1 AA large text Lc -75.1 Fine for body text
Black text on #5F78BA 4.88:1 AA Lc 34.4 Non-text elements, placeholder text
#5F78BA text on white 4.30:1 AA large text Lc 69.7 Content text, not long reading
#5F78BA text on black 4.88:1 AA Lc -32.0 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 600.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D1D9EB

    oklch(88.5% 0.026 266.6)

  4. Step 300

    300

    #B3C0E0

    oklch(80.8% 0.047 267.8)

  5. Step 400

    400

    #8BA0D1

    oklch(70.8% 0.076 266.5)

  6. Step 500

    500

    #6F87C5

    oklch(63% 0.098 267.4)

  7. Step 600

    600 (this color)

    #5F78BA

    oklch(58.2% 0.106 267.3)

  8. Step 700

    700

    #485E99

    oklch(49.2% 0.099 267.3)

  9. Step 800

    800

    #3B4D7C

    oklch(42.8% 0.082 267.1)

  10. Step 900

    900

    #324064

    oklch(37.7% 0.065 267.1)

  11. Step 950

    950

    #1E263A

    oklch(27.1% 0.039 267.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F78BA 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)#5F7EBD0.016
Deuteranopia (no green cones)#5576B90.014
Tritanopia (no blue cones)#3986900.096
Achromatopsia (no color)#7A7A7A0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F78BA

    #5F78BA

    oklch(58.2% 0.106 267.3)

  • #967622

    #967622

    oklch(58.2% 0.106 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F78BA

    #5F78BA

    oklch(58.2% 0.106 267.3)

  • #3083B2

    #3083B2

    oklch(58.1% 0.107 237.7)

  • #826DB2

    #826DB2

    oklch(58.3% 0.105 297)

Open the analogous palette in the generator

Split complementary

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

  • #5F78BA

    #5F78BA

    oklch(58.2% 0.106 267.3)

  • #AA6936

    #AA6936

    oklch(58.2% 0.106 56.7)

  • #768333

    #768333

    oklch(58.2% 0.106 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F78BA

    #5F78BA

    oklch(58.2% 0.106 267.3)

  • #B16158

    #B16158

    oklch(58.3% 0.105 27.5)

  • #4C8C55

    #4C8C55

    oklch(58.3% 0.106 147.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F78BA

    #5F78BA

    oklch(58.2% 0.106 267.3)

  • #AC5F7B

    #AC5F7B

    oklch(58.2% 0.105 357.7)

  • #967622

    #967622

    oklch(58.2% 0.106 86.8)

  • #098F7A

    #098F7A

    oklch(58.2% 0.106 177.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F78BA 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.