#5F62BF

Closest named color: Iris (#6258C4). oklch(54% 0.142 279.1), rgb(95, 98, 191).

Aa

White text reads best on this color (5.26:1).

About this color

#5F62BF is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.142 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Iris (#6258C4), ΔE 0.027 away. White text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.142)
Temperaturecool
Nearest nameIris (#6258C4)
Black text3.98:1
White text5.26:1

Values

HEX#5F62BF
RGBrgb(95, 98, 191)
HSLhsl(238, 43%, 56%)
OKLCHoklch(54% 0.142 279.1)

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 #5F62BF 5.26:1 AA Lc -81.3 Fine for body text
Black text on #5F62BF 3.98:1 AA large text Lc 28.1 Dividers and decoration only
#5F62BF text on white 5.26:1 AA Lc 76.0 Fine for body text
#5F62BF text on black 3.98:1 AA large text Lc -25.8 Dividers and decoration only

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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F1

    oklch(88.5% 0.036 280.4)

  4. Step 300

    300

    #B7BDEA

    oklch(80.9% 0.064 278.9)

  5. Step 400

    400

    #939AE0

    oklch(70.8% 0.102 279)

  6. Step 500

    500

    #797FD7

    oklch(63% 0.131 279)

  7. Step 600

    600 (this color)

    #5F62BF

    oklch(54% 0.142 279.1)

  8. Step 700

    700

    #5355AA

    oklch(49.2% 0.133 279.3)

  9. Step 800

    800

    #434689

    oklch(42.7% 0.109 278.8)

  10. Step 900

    900

    #393B6E

    oklch(37.7% 0.086 279.7)

  11. Step 950

    950

    #212340

    oklch(27% 0.054 279.2)

Export this scale for Tailwind in the Tailwind colors tool

#5F62BF 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)#3870C20.053
Deuteranopia (no green cones)#2F68BD0.054
Tritanopia (no blue cones)#3976870.124
Achromatopsia (no color)#6C6C6C0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F62BF

    #5F62BF

    oklch(54% 0.142 279.1)

  • #7F6F00

    #7F6F00

    oklch(54% 0.112 99.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F62BF

    #5F62BF

    oklch(54% 0.142 279.1)

  • #1272BD

    #1272BD

    oklch(54.1% 0.142 249.1)

  • #8753AC

    #8753AC

    oklch(53.9% 0.143 309.4)

Open the analogous palette in the generator

Split complementary

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

  • #5F62BF

    #5F62BF

    oklch(54% 0.142 279.1)

  • #9A6000

    #9A6000

    oklch(54.1% 0.118 69.2)

  • #547D03

    #547D03

    oklch(53.9% 0.142 129)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F62BF

    #5F62BF

    oklch(54% 0.142 279.1)

  • #B14B27

    #B14B27

    oklch(54.1% 0.142 39.1)

  • #008454

    #008454

    oklch(54.1% 0.124 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F62BF

    #5F62BF

    oklch(54% 0.142 279.1)

  • #B0445D

    #B0445D

    oklch(53.9% 0.142 9)

  • #7F6F00

    #7F6F00

    oklch(54% 0.112 99.3)

  • #00807A

    #00807A

    oklch(54.1% 0.094 189)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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