#5188CA

Closest named color: Cool Blue (#4984B8). oklch(61.8% 0.116 254), rgb(81, 136, 202).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.116)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.72:1
White text3.66:1

Values

HEX#5188CA
RGBrgb(81, 136, 202)
HSLhsl(213, 53%, 55%)
OKLCHoklch(61.8% 0.116 254)

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 #5188CA 3.66:1 AA large text Lc -69.6 Content text, not long reading
Black text on #5188CA 5.72:1 AA Lc 40.0 Non-text elements, placeholder text
#5188CA text on white 3.66:1 AA large text Lc 64.1 Content text, not long reading
#5188CA text on black 5.72:1 AA Lc -37.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 500.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF5

    oklch(93.7% 0.016 253.9)

  3. Step 200

    200

    #CBDBEE

    oklch(88.5% 0.031 252.7)

  4. Step 300

    300

    #A8C3E5

    oklch(80.9% 0.057 254.3)

  5. Step 400

    400

    #78A4D9

    oklch(70.8% 0.092 253.6)

  6. Step 500

    500 (this color)

    #5188CA

    oklch(61.8% 0.116 254)

  7. Step 600

    600

    #3975BB

    oklch(55.6% 0.126 253.9)

  8. Step 700

    700

    #2B62A1

    oklch(49.1% 0.117 253.8)

  9. Step 800

    800

    #255083

    oklch(42.7% 0.098 254.3)

  10. Step 900

    900

    #234369

    oklch(37.8% 0.076 253.9)

  11. Step 950

    950

    #15273D

    oklch(26.9% 0.048 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#5188CA 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)#6C8CCD0.033
Deuteranopia (no green cones)#5C80C90.023
Tritanopia (no blue cones)#0097A00.097
Achromatopsia (no color)#8585850.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #5188CA

    #5188CA

    oklch(61.8% 0.116 254)

  • #AF7A26

    #AF7A26

    oklch(61.9% 0.116 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5188CA

    #5188CA

    oklch(61.8% 0.116 254)

  • #0094B9

    #0094B9

    oklch(61.9% 0.116 223.7)

  • #7E7BC9

    #7E7BC9

    oklch(61.9% 0.116 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #5188CA

    #5188CA

    oklch(61.8% 0.116 254)

  • #BF6D48

    #BF6D48

    oklch(61.9% 0.116 44.4)

  • #928825

    #928825

    oklch(61.7% 0.116 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5188CA

    #5188CA

    oklch(61.8% 0.116 254)

  • #C16670

    #C16670

    oklch(61.8% 0.116 14.1)

  • #689549

    #689549

    oklch(61.9% 0.117 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5188CA

    #5188CA

    oklch(61.8% 0.116 254)

  • #B66797

    #B66797

    oklch(61.8% 0.117 343.8)

  • #AF7A26

    #AF7A26

    oklch(61.9% 0.116 74.2)

  • #2D9B72

    #2D9B72

    oklch(61.7% 0.117 163.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5188CA 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.