#5F6FDD

Closest named color: Royal Blue (#4169E1). oklch(58.5% 0.167 273.9), rgb(95, 111, 221).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.80:1
White text4.37:1

Values

HEX#5F6FDD
RGBrgb(95, 111, 221)
HSLhsl(232, 65%, 62%)
OKLCHoklch(58.5% 0.167 273.9)

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 #5F6FDD 4.37:1 AA large text Lc -75.5 Fine for body text
Black text on #5F6FDD 4.80:1 AA Lc 34.1 Non-text elements, placeholder text
#5F6FDD text on white 4.37:1 AA large text Lc 70.0 Content text, not long reading
#5F6FDD text on black 4.80:1 AA Lc -31.6 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

    #D0D8F6

    oklch(88.6% 0.042 273.7)

  4. Step 300

    300

    #B1BEF2

    oklch(81% 0.075 273.7)

  5. Step 400

    400

    #899AEB

    oklch(70.6% 0.12 273.9)

  6. Step 500

    500

    #6E7FE5

    oklch(63.1% 0.154 274.1)

  7. Step 600

    600 (this color)

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  8. Step 700

    700

    #4854B7

    oklch(49.1% 0.155 274)

  9. Step 800

    800

    #3B4594

    oklch(42.6% 0.129 274.2)

  10. Step 900

    900

    #323B76

    oklch(37.7% 0.1 274.1)

  11. Step 950

    950

    #1D2345

    oklch(27% 0.063 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F6FDD 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)#367EE10.050
Deuteranopia (no green cones)#1F74DB0.056
Tritanopia (no blue cones)#07889C0.147
Achromatopsia (no color)#7979790.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F6FDD

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  • #937900

    #937900

    oklch(58.4% 0.12 93.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F6FDD

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  • #0082CA

    #0082CA

    oklch(58.4% 0.144 244.1)

  • #925DCB

    #925DCB

    oklch(58.5% 0.167 303.9)

Open the analogous palette in the generator

Split complementary

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

  • #5F6FDD

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  • #B16800

    #B16800

    oklch(58.6% 0.132 64.1)

  • #6A8900

    #6A8900

    oklch(58.5% 0.145 124)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F6FDD

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  • #CB4C31

    #CB4C31

    oklch(58.4% 0.167 33.7)

  • #009451

    #009451

    oklch(58.5% 0.147 154)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F6FDD

    #5F6FDD

    oklch(58.5% 0.167 273.9)

  • #C84771

    #C84771

    oklch(58.6% 0.167 3.8)

  • #937900

    #937900

    oklch(58.4% 0.12 93.8)

  • #008F83

    #008F83

    oklch(58.4% 0.103 184.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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