#5B82CD

Closest named color: Cool Blue (#4984B8). oklch(61.2% 0.123 262.5), rgb(91, 130, 205).

Aa

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

About this color

#5B82CD is a medium-dark, moderately saturated blue. In OKLCH its lightness is 61%, its chroma 0.123 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.040 away. Black text reads best on it, at 5.51:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.51:1
White text3.80:1

Values

HEX#5B82CD
RGBrgb(91, 130, 205)
HSLhsl(219, 53%, 58%)
OKLCHoklch(61.2% 0.123 262.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 #5B82CD 3.80:1 AA large text Lc -70.9 Content text, not long reading
Black text on #5B82CD 5.51:1 AA Lc 38.7 Non-text elements, placeholder text
#5B82CD text on white 3.80:1 AA large text Lc 65.4 Content text, not long reading
#5B82CD text on black 5.51:1 AA Lc -36.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

    #F3F6FB

    oklch(97.2% 0.007 260.7)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CDDAF0

    oklch(88.5% 0.033 261)

  4. Step 300

    300

    #ACC1E8

    oklch(80.8% 0.06 262.8)

  5. Step 400

    400

    #80A1DD

    oklch(70.8% 0.096 262)

  6. Step 500

    500 (this color)

    #5B82CD

    oklch(61.2% 0.123 262.5)

  7. Step 600

    600

    #4770C1

    oklch(55.5% 0.134 262.6)

  8. Step 700

    700

    #395EA6

    oklch(49.2% 0.123 262.3)

  9. Step 800

    800

    #2F4D87

    oklch(42.7% 0.103 262.3)

  10. Step 900

    900

    #2A406C

    oklch(37.6% 0.081 263)

  11. Step 950

    950

    #19263F

    oklch(27% 0.05 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B82CD 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)#6388D00.020
Deuteranopia (no green cones)#557ECB0.014
Tritanopia (no blue cones)#10939E0.110
Achromatopsia (no color)#8383830.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B82CD

    #5B82CD

    oklch(61.2% 0.123 262.5)

  • #A87B0E

    #A87B0E

    oklch(61.2% 0.123 82)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B82CD

    #5B82CD

    oklch(61.2% 0.123 262.5)

  • #0F8FC0

    #0F8FC0

    oklch(61.1% 0.122 232.3)

  • #8674C6

    #8674C6

    oklch(61% 0.122 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #5B82CD

    #5B82CD

    oklch(61.2% 0.123 262.5)

  • #BC6C36

    #BC6C36

    oklch(61.1% 0.123 52.3)

  • #858B23

    #858B23

    oklch(61.2% 0.123 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B82CD

    #5B82CD

    oklch(61.2% 0.123 262.5)

  • #C26361

    #C26361

    oklch(61.1% 0.122 22.5)

  • #549650

    #549650

    oklch(61.2% 0.122 142.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B82CD

    #5B82CD

    oklch(61.2% 0.123 262.5)

  • #BB628B

    #BB628B

    oklch(61.2% 0.124 352.4)

  • #A87B0E

    #A87B0E

    oklch(61.2% 0.123 82)

  • #009A7C

    #009A7C

    oklch(61.1% 0.118 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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