#5179DB

Closest named color: Royal Blue (#4169E1). oklch(59.6% 0.156 265.3), rgb(81, 121, 219).

Aa

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

About this color

#5179DB is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.156 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.048 away. Black text reads best on it, at 5.10:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.156)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text5.10:1
White text4.11:1

Values

HEX#5179DB
RGBrgb(81, 121, 219)
HSLhsl(223, 66%, 59%)
OKLCHoklch(59.6% 0.156 265.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 #5179DB 4.11:1 AA large text Lc -73.5 Content text, not long reading
Black text on #5179DB 5.10:1 AA Lc 36.1 Non-text elements, placeholder text
#5179DB text on white 4.11:1 AA large text Lc 68.0 Content text, not long reading
#5179DB text on black 5.10:1 AA Lc -33.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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #A9C0F3

    oklch(80.8% 0.077 265.8)

  5. Step 400

    400

    #7C9EED

    oklch(70.7% 0.122 265.7)

  6. Step 500

    500 (this color)

    #5179DB

    oklch(59.6% 0.156 265.3)

  7. Step 600

    600

    #426BD5

    oklch(55.6% 0.169 265.3)

  8. Step 700

    700

    #3459B9

    oklch(49.2% 0.158 265.2)

  9. Step 800

    800

    #2B4995

    oklch(42.6% 0.13 265.1)

  10. Step 900

    900

    #273E77

    oklch(37.7% 0.101 265.3)

  11. Step 950

    950

    #172546

    oklch(27.1% 0.064 265.1)

Export this scale for Tailwind in the Tailwind colors tool

#5179DB 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)#4A84DF0.028
Deuteranopia (no green cones)#3377D90.029
Tritanopia (no blue cones)#008F9F0.131
Achromatopsia (no color)#7D7D7D0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #5179DB

    #5179DB

    oklch(59.6% 0.156 265.3)

  • #A07800

    #A07800

    oklch(59.6% 0.122 85.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5179DB

    #5179DB

    oklch(59.6% 0.156 265.3)

  • #0089BF

    #0089BF

    oklch(59.5% 0.127 235.3)

  • #8868D1

    #8868D1

    oklch(59.7% 0.156 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #5179DB

    #5179DB

    oklch(59.6% 0.156 265.3)

  • #BF6200

    #BF6200

    oklch(59.5% 0.147 55.1)

  • #7D8800

    #7D8800

    oklch(59.7% 0.136 115.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5179DB

    #5179DB

    oklch(59.6% 0.156 265.3)

  • #CB524D

    #CB524D

    oklch(59.6% 0.155 25.3)

  • #32963E

    #32963E

    oklch(59.5% 0.156 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5179DB

    #5179DB

    oklch(59.6% 0.156 265.3)

  • #C35083

    #C35083

    oklch(59.5% 0.156 355.2)

  • #A07800

    #A07800

    oklch(59.6% 0.122 85.2)

  • #00947B

    #00947B

    oklch(59.5% 0.112 175.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5179DB 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.