#5F8AEB

Closest named color: Soft Blue (#6488EA). oklch(64.8% 0.153 264.5), rgb(95, 138, 235).

Aa

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

About this color

#5F8AEB is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.153 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.007 away. Black text reads best on it, at 6.32:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.153)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text6.32:1
White text3.32:1

Values

HEX#5F8AEB
RGBrgb(95, 138, 235)
HSLhsl(222, 78%, 65%)
OKLCHoklch(64.8% 0.153 264.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 #5F8AEB 3.32:1 AA large text Lc -65.8 Content text, not long reading
Black text on #5F8AEB 6.32:1 AA Lc 43.7 Non-text elements, placeholder text
#5F8AEB text on white 3.32:1 AA large text Lc 60.4 Content text, not long reading
#5F8AEB text on black 6.32:1 AA Lc -41.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F5

    oklch(88.4% 0.041 265.7)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400

    #7B9FEB

    oklch(70.7% 0.119 264.3)

  6. Step 500

    500 (this color)

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  7. Step 600

    600

    #416CD3

    oklch(55.6% 0.166 264.6)

  8. Step 700

    700

    #335AB7

    oklch(49.2% 0.154 264.3)

  9. Step 800

    800

    #2B4A94

    oklch(42.8% 0.127 264.5)

  10. Step 900

    900

    #263E76

    oklch(37.6% 0.1 264.6)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#5F8AEB 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)#5F94EF0.026
Deuteranopia (no green cones)#4C87E90.022
Tritanopia (no blue cones)#00A0AF0.133
Achromatopsia (no color)#8D8D8D0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8AEB

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  • #B48600

    #B48600

    oklch(64.7% 0.133 84.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8AEB

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  • #009AD5

    #009AD5

    oklch(64.8% 0.137 234.8)

  • #9679E1

    #9679E1

    oklch(64.9% 0.152 294.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F8AEB

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  • #D4701A

    #D4701A

    oklch(64.8% 0.153 54.1)

  • #8D9800

    #8D9800

    oklch(64.8% 0.147 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8AEB

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  • #DC635E

    #DC635E

    oklch(64.8% 0.153 24.6)

  • #49A64E

    #49A64E

    oklch(64.8% 0.153 144.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8AEB

    #5F8AEB

    oklch(64.8% 0.153 264.5)

  • #D46294

    #D46294

    oklch(64.9% 0.153 354.7)

  • #B48600

    #B48600

    oklch(64.7% 0.133 84.2)

  • #00A68A

    #00A68A

    oklch(64.7% 0.122 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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