#5B6FDC

Closest named color: Royal Blue (#4169E1). oklch(58.2% 0.167 272.4), rgb(91, 111, 220).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.75:1
White text4.41:1

Values

HEX#5B6FDC
RGBrgb(91, 111, 220)
HSLhsl(231, 65%, 61%)
OKLCHoklch(58.2% 0.167 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 #5B6FDC 4.41:1 AA large text Lc -75.9 Fine for body text
Black text on #5B6FDC 4.75:1 AA Lc 33.7 Non-text elements, placeholder text
#5B6FDC text on white 4.41:1 AA large text Lc 70.4 Content text, not long reading
#5B6FDC text on black 4.75:1 AA Lc -31.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 600.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #B0BEF2

    oklch(80.9% 0.075 272.9)

  5. Step 400

    400

    #879BEB

    oklch(70.7% 0.12 272.3)

  6. Step 500

    500

    #6B80E5

    oklch(63.1% 0.153 272.5)

  7. Step 600

    600 (this color)

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  8. Step 700

    700

    #4555B7

    oklch(49.1% 0.155 272.4)

  9. Step 800

    800

    #384694

    oklch(42.7% 0.128 272.2)

  10. Step 900

    900

    #303C76

    oklch(37.8% 0.1 272)

  11. Step 950

    950

    #1C2345

    oklch(26.9% 0.064 272.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B6FDC 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)#367EE00.047
Deuteranopia (no green cones)#1D73DA0.052
Tritanopia (no blue cones)#00889B0.146
Achromatopsia (no color)#7878780.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B6FDC

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  • #947800

    #947800

    oklch(58.3% 0.119 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B6FDC

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  • #0082C5

    #0082C5

    oklch(58.2% 0.139 242.2)

  • #8F5DCB

    #8F5DCB

    oklch(58.2% 0.167 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B6FDC

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  • #B16600

    #B16600

    oklch(58.2% 0.133 62.8)

  • #6D8700

    #6D8700

    oklch(58.2% 0.141 122.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B6FDC

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  • #CA4B34

    #CA4B34

    oklch(58.2% 0.166 32.4)

  • #00934B

    #00934B

    oklch(58.1% 0.152 152.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B6FDC

    #5B6FDC

    oklch(58.2% 0.167 272.4)

  • #C64672

    #C64672

    oklch(58.2% 0.167 2.6)

  • #947800

    #947800

    oklch(58.3% 0.119 92.5)

  • #008E80

    #008E80

    oklch(58.1% 0.104 182.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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