#508DB7

Closest named color: Dusty Blue (#5A86AD). oklch(62% 0.09 240.4), rgb(80, 141, 183).

Aa

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

About this color

#508DB7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.090 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Blue (#5A86AD), ΔE 0.022 away. Black text reads best on it, at 5.83:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameDusty Blue (#5A86AD)
Black text5.83:1
White text3.59:1

Values

HEX#508DB7
RGBrgb(80, 141, 183)
HSLhsl(204, 42%, 52%)
OKLCHoklch(62% 0.09 240.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 #508DB7 3.59:1 AA large text Lc -68.9 Content text, not long reading
Black text on #508DB7 5.83:1 AA Lc 40.6 Non-text elements, placeholder text
#508DB7 text on white 3.59:1 AA large text Lc 63.4 Content text, not long reading
#508DB7 text on black 5.83:1 AA Lc -38.2 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CBDCE8

    oklch(88.5% 0.025 238.4)

  4. Step 300

    300

    #A8C5DB

    oklch(80.9% 0.044 240.9)

  5. Step 400

    400

    #78A7C9

    oklch(70.7% 0.071 240.4)

  6. Step 500

    500 (this color)

    #508DB7

    oklch(62% 0.09 240.4)

  7. Step 600

    600

    #367AA7

    oklch(55.6% 0.098 240.7)

  8. Step 700

    700

    #27678F

    oklch(49.2% 0.091 239.9)

  9. Step 800

    800

    #225474

    oklch(42.7% 0.075 240)

  10. Step 900

    900

    #22455E

    oklch(37.6% 0.059 241.7)

  11. Step 950

    950

    #152937

    oklch(27.1% 0.037 240.5)

Export this scale for Tailwind in the Tailwind colors tool

#508DB7 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)#7A8DB90.048
Deuteranopia (no green cones)#6C82B60.041
Tritanopia (no blue cones)#00979B0.072
Achromatopsia (no color)#8787870.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #508DB7

    #508DB7

    oklch(62% 0.09 240.4)

  • #AE794C

    #AE794C

    oklch(62% 0.09 60.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #508DB7

    #508DB7

    oklch(62% 0.09 240.4)

  • #3595A4

    #3595A4

    oklch(62.1% 0.09 209.7)

  • #7183BD

    #7183BD

    oklch(61.9% 0.091 270.4)

Open the analogous palette in the generator

Split complementary

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

  • #508DB7

    #508DB7

    oklch(62% 0.09 240.4)

  • #B67165

    #B67165

    oklch(62% 0.09 30.5)

  • #9B8442

    #9B8442

    oklch(62% 0.09 90.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #508DB7

    #508DB7

    oklch(62% 0.09 240.4)

  • #B36F83

    #B36F83

    oklch(62.1% 0.089 1)

  • #7F8E4E

    #7F8E4E

    oklch(61.9% 0.09 119.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #508DB7

    #508DB7

    oklch(62% 0.09 240.4)

  • #A572A0

    #A572A0

    oklch(62% 0.09 330)

  • #AE794C

    #AE794C

    oklch(62% 0.09 60.3)

  • #5C9569

    #5C9569

    oklch(61.8% 0.09 150.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #508DB7 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.