#5B6FDF

Closest named color: Royal Blue (#4169E1). oklch(58.4% 0.171 272.4), rgb(91, 111, 223).

Aa

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

About this color

#5B6FDF is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.171 and its hue 272°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.035 away. Black text reads best on it, at 4.78:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.171)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.78:1
White text4.38:1

Values

HEX#5B6FDF
RGBrgb(91, 111, 223)
HSLhsl(231, 67%, 62%)
OKLCHoklch(58.4% 0.171 272.4)

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 #5B6FDF 4.38:1 AA large text Lc -75.6 Fine for body text
Black text on #5B6FDF 4.78:1 AA Lc 33.9 Non-text elements, placeholder text
#5B6FDF text on white 4.38:1 AA large text Lc 70.1 Content text, not long reading
#5B6FDF text on black 4.78:1 AA Lc -31.5 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #AFBEF3

    oklch(80.9% 0.077 272.3)

  5. Step 400

    400

    #879BED

    oklch(70.8% 0.122 272.5)

  6. Step 500

    500

    #6A80E7

    oklch(63.2% 0.156 272.2)

  7. Step 600

    600 (this color)

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  8. Step 700

    700

    #4454B9

    oklch(49% 0.159 272.4)

  9. Step 800

    800

    #384696

    oklch(42.8% 0.131 272.2)

  10. Step 900

    900

    #303B77

    oklch(37.6% 0.103 272.7)

  11. Step 950

    950

    #1C2346

    oklch(27% 0.065 272.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B6FDF 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)#327EE30.049
Deuteranopia (no green cones)#1473DD0.055
Tritanopia (no blue cones)#00899C0.150
Achromatopsia (no color)#7878780.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B6FDF

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  • #947800

    #947800

    oklch(58.3% 0.119 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B6FDF

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  • #0083C6

    #0083C6

    oklch(58.5% 0.139 242)

  • #905CCE

    #905CCE

    oklch(58.4% 0.172 302.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B6FDF

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  • #B26600

    #B26600

    oklch(58.4% 0.134 62.3)

  • #6D8800

    #6D8800

    oklch(58.4% 0.143 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B6FDF

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  • #CD4A32

    #CD4A32

    oklch(58.5% 0.171 32.5)

  • #00944C

    #00944C

    oklch(58.4% 0.152 152.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B6FDF

    #5B6FDF

    oklch(58.4% 0.171 272.4)

  • #C84573

    #C84573

    oklch(58.4% 0.17 2.3)

  • #947800

    #947800

    oklch(58.3% 0.119 92.5)

  • #008F81

    #008F81

    oklch(58.4% 0.104 182.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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