#5182BE

Closest named color: Cool Blue (#4984B8). oklch(59.8% 0.107 254.3), rgb(81, 130, 190).

Aa

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

About this color

#5182BE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.107 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.014 away. Black text reads best on it, at 5.28:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.28:1
White text3.97:1

Values

HEX#5182BE
RGBrgb(81, 130, 190)
HSLhsl(213, 46%, 53%)
OKLCHoklch(59.8% 0.107 254.3)

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 #5182BE 3.97:1 AA large text Lc -72.4 Content text, not long reading
Black text on #5182BE 5.28:1 AA Lc 37.2 Non-text elements, placeholder text
#5182BE text on white 3.97:1 AA large text Lc 66.9 Content text, not long reading
#5182BE text on black 5.28:1 AA Lc -34.7 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CCDBEC

    oklch(88.5% 0.029 251.5)

  4. Step 300

    300

    #AAC3E2

    oklch(80.9% 0.052 253.9)

  5. Step 400

    400

    #7DA3D4

    oklch(70.6% 0.083 255.1)

  6. Step 500

    500 (this color)

    #5182BE

    oklch(59.8% 0.107 254.3)

  7. Step 600

    600

    #4075B5

    oklch(55.6% 0.115 254.3)

  8. Step 700

    700

    #31629C

    oklch(49.1% 0.108 254.1)

  9. Step 800

    800

    #2A507F

    oklch(42.7% 0.09 254.8)

  10. Step 900

    900

    #264366

    oklch(37.8% 0.07 254.1)

  11. Step 950

    950

    #17273C

    oklch(27% 0.045 255.6)

Export this scale for Tailwind in the Tailwind colors tool

#5182BE 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)#6985C10.030
Deuteranopia (no green cones)#5B7BBD0.021
Tritanopia (no blue cones)#0090970.094
Achromatopsia (no color)#8080800.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #5182BE

    #5182BE

    oklch(59.8% 0.107 254.3)

  • #A5752C

    #A5752C

    oklch(59.8% 0.106 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5182BE

    #5182BE

    oklch(59.8% 0.107 254.3)

  • #1A8DAF

    #1A8DAF

    oklch(59.9% 0.107 224)

  • #7976BD

    #7976BD

    oklch(59.9% 0.107 284.6)

Open the analogous palette in the generator

Split complementary

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

  • #5182BE

    #5182BE

    oklch(59.8% 0.107 254.3)

  • #B46948

    #B46948

    oklch(59.8% 0.107 44)

  • #8A832C

    #8A832C

    oklch(59.9% 0.107 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5182BE

    #5182BE

    oklch(59.8% 0.107 254.3)

  • #B6636C

    #B6636C

    oklch(59.8% 0.107 13.9)

  • #648E4A

    #648E4A

    oklch(59.9% 0.107 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5182BE

    #5182BE

    oklch(59.8% 0.107 254.3)

  • #AC658F

    #AC658F

    oklch(59.9% 0.106 344.4)

  • #A5752C

    #A5752C

    oklch(59.8% 0.106 74.1)

  • #33936F

    #33936F

    oklch(59.7% 0.106 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5182BE 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.