#5074DD

Closest named color: Royal Blue (#4169E1). oklch(58.6% 0.165 267), rgb(80, 116, 221).

Aa

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

About this color

#5074DD is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.165 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.035 away. Black text reads best on it, at 4.88:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.165)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.88:1
White text4.30:1

Values

HEX#5074DD
RGBrgb(80, 116, 221)
HSLhsl(225, 67%, 59%)
OKLCHoklch(58.6% 0.165 267)

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 #5074DD 4.30:1 AA large text Lc -74.9 Content text, not long reading
Black text on #5074DD 4.88:1 AA Lc 34.6 Non-text elements, placeholder text
#5074DD text on white 4.30:1 AA large text Lc 69.5 Content text, not long reading
#5074DD text on black 4.88:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ABC0F2

    oklch(80.9% 0.075 267)

  5. Step 400

    400

    #7F9EEB

    oklch(70.8% 0.119 266.7)

  6. Step 500

    500

    #6083E5

    oklch(63.1% 0.153 267.2)

  7. Step 600

    600 (this color)

    #5074DD

    oklch(58.6% 0.165 267)

  8. Step 700

    700

    #3A58B7

    oklch(49.1% 0.154 267.3)

  9. Step 800

    800

    #304994

    oklch(42.8% 0.127 267.1)

  10. Step 900

    900

    #2A3E76

    oklch(37.8% 0.099 266.9)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#5074DD 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)#3E81E10.034
Deuteranopia (no green cones)#2174DB0.038
Tritanopia (no blue cones)#008C9E0.138
Achromatopsia (no color)#7A7A7A0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #5074DD

    #5074DD

    oklch(58.6% 0.165 267)

  • #9B7600

    #9B7600

    oklch(58.6% 0.12 86.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5074DD

    #5074DD

    oklch(58.6% 0.165 267)

  • #0086BE

    #0086BE

    oklch(58.7% 0.128 236.8)

  • #8862D1

    #8862D1

    oklch(58.7% 0.165 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #5074DD

    #5074DD

    oklch(58.6% 0.165 267)

  • #B96200

    #B96200

    oklch(58.7% 0.142 57.1)

  • #778600

    #778600

    oklch(58.7% 0.136 117.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5074DD

    #5074DD

    oklch(58.6% 0.165 267)

  • #CC4B43

    #CC4B43

    oklch(58.7% 0.165 26.9)

  • #19953A

    #19953A

    oklch(58.7% 0.166 146.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5074DD

    #5074DD

    oklch(58.6% 0.165 267)

  • #C4497D

    #C4497D

    oklch(58.6% 0.165 357.2)

  • #9B7600

    #9B7600

    oklch(58.6% 0.12 86.6)

  • #00917B

    #00917B

    oklch(58.7% 0.109 176.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5074DD 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.