#5F81AE

Closest named color: Off Blue (#5684AE). oklch(59.6% 0.079 255.7), rgb(95, 129, 174).

Aa

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

About this color

#5F81AE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.079 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.012 away. Black text reads best on it, at 5.23:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.23:1
White text4.00:1

Values

HEX#5F81AE
RGBrgb(95, 129, 174)
HSLhsl(214, 33%, 53%)
OKLCHoklch(59.6% 0.079 255.7)

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 #5F81AE 4.00:1 AA large text Lc -72.8 Content text, not long reading
Black text on #5F81AE 5.23:1 AA Lc 36.8 Non-text elements, placeholder text
#5F81AE text on white 4.00:1 AA large text Lc 67.3 Content text, not long reading
#5F81AE text on black 5.23:1 AA Lc -34.3 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE8

    oklch(88.5% 0.022 256.7)

  4. Step 300

    300

    #B1C2DA

    oklch(80.9% 0.039 257)

  5. Step 400

    400

    #87A3C7

    oklch(70.7% 0.062 254.9)

  6. Step 500

    500 (this color)

    #5F81AE

    oklch(59.6% 0.079 255.7)

  7. Step 600

    600

    #5175A5

    oklch(55.6% 0.086 255.9)

  8. Step 700

    700

    #41628E

    oklch(49.1% 0.081 255.9)

  9. Step 800

    800

    #365073

    oklch(42.7% 0.067 256.1)

  10. Step 900

    900

    #2F435D

    oklch(37.8% 0.052 255.3)

  11. Step 950

    950

    #1C2736

    oklch(27% 0.032 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F81AE 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)#7083B00.023
Deuteranopia (no green cones)#677BAD0.018
Tritanopia (no blue cones)#408B900.071
Achromatopsia (no color)#7F7F7F0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F81AE

    #5F81AE

    oklch(59.6% 0.079 255.7)

  • #9A7847

    #9A7847

    oklch(59.5% 0.079 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F81AE

    #5F81AE

    oklch(59.6% 0.079 255.7)

  • #4589A3

    #4589A3

    oklch(59.6% 0.079 225.5)

  • #7A78AD

    #7A78AD

    oklch(59.5% 0.08 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F81AE

    #5F81AE

    oklch(59.6% 0.079 255.7)

  • #A77056

    #A77056

    oklch(59.6% 0.08 46.1)

  • #858248

    #858248

    oklch(59.6% 0.079 106)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F81AE

    #5F81AE

    oklch(59.6% 0.079 255.7)

  • #A96B6F

    #A96B6F

    oklch(59.5% 0.08 15.5)

  • #6A8A5A

    #6A8A5A

    oklch(59.6% 0.079 135.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F81AE

    #5F81AE

    oklch(59.6% 0.079 255.7)

  • #A26C89

    #A26C89

    oklch(59.7% 0.079 346.3)

  • #9A7847

    #9A7847

    oklch(59.5% 0.079 75.4)

  • #4D8E74

    #4D8E74

    oklch(59.6% 0.079 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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