#4870D9

Closest named color: Royal Blue (#4169E1). oklch(57.1% 0.167 265.7), rgb(72, 112, 217).

Aa

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

About this color

#4870D9 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.167 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.024 away. Black text reads best on it, at 4.59:1.

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

Values

HEX#4870D9
RGBrgb(72, 112, 217)
HSLhsl(223, 66%, 57%)
OKLCHoklch(57.1% 0.167 265.7)

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 #4870D9 4.57:1 AA Lc -76.9 Fine for body text
Black text on #4870D9 4.59:1 AA Lc 32.7 Non-text elements, placeholder text
#4870D9 text on white 4.57:1 AA Lc 71.4 Content text, not long reading
#4870D9 text on black 4.59:1 AA Lc -30.3 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

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #AAC0F2

    oklch(80.9% 0.075 266.2)

  5. Step 400

    400

    #7D9EEC

    oklch(70.7% 0.121 265.9)

  6. Step 500

    500

    #5D84E6

    oklch(63.2% 0.154 265.8)

  7. Step 600

    600 (this color)

    #4870D9

    oklch(57.1% 0.167 265.7)

  8. Step 700

    700

    #3659B8

    oklch(49.2% 0.156 265.7)

  9. Step 800

    800

    #2D4994

    oklch(42.7% 0.128 265.8)

  10. Step 900

    900

    #283E76

    oklch(37.7% 0.1 265.7)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#4870D9 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)#377DDD0.034
Deuteranopia (no green cones)#106FD70.038
Tritanopia (no blue cones)#00889A0.136
Achromatopsia (no color)#7676760.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #4870D9

    #4870D9

    oklch(57.1% 0.167 265.7)

  • #977100

    #977100

    oklch(57.1% 0.117 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4870D9

    #4870D9

    oklch(57.1% 0.167 265.7)

  • #0081B5

    #0081B5

    oklch(57% 0.122 235.7)

  • #825DCE

    #825DCE

    oklch(57.1% 0.168 295.7)

Open the analogous palette in the generator

Split complementary

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

  • #4870D9

    #4870D9

    oklch(57.1% 0.167 265.7)

  • #B45D00

    #B45D00

    oklch(57.1% 0.14 55.7)

  • #758000

    #758000

    oklch(57.1% 0.13 115.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4870D9

    #4870D9

    oklch(57.1% 0.167 265.7)

  • #C74541

    #C74541

    oklch(57.1% 0.166 25.6)

  • #189031

    #189031

    oklch(57.1% 0.167 145.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4870D9

    #4870D9

    oklch(57.1% 0.167 265.7)

  • #BF437B

    #BF437B

    oklch(57.1% 0.167 355.8)

  • #977100

    #977100

    oklch(57.1% 0.117 85.1)

  • #008C75

    #008C75

    oklch(57.2% 0.107 175.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4870D9 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.