#4872D2

Closest named color: Royal Blue (#4169E1). oklch(57.1% 0.155 264.3), rgb(72, 114, 210).

Aa

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

About this color

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

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

Values

HEX#4872D2
RGBrgb(72, 114, 210)
HSLhsl(222, 61%, 55%)
OKLCHoklch(57.1% 0.155 264.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 #4872D2 4.55:1 AA Lc -76.8 Fine for body text
Black text on #4872D2 4.61:1 AA Lc 32.8 Non-text elements, placeholder text
#4872D2 text on white 4.55:1 AA Lc 71.3 Content text, not long reading
#4872D2 text on black 4.61:1 AA Lc -30.4 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCD9F4

    oklch(88.4% 0.04 265.1)

  4. Step 300

    300

    #AAC1EF

    oklch(81% 0.07 264.1)

  5. Step 400

    400

    #7D9FE7

    oklch(70.7% 0.113 264.4)

  6. Step 500

    500

    #5D86DF

    oklch(63.2% 0.142 264.1)

  7. Step 600

    600 (this color)

    #4872D2

    oklch(57.1% 0.155 264.3)

  8. Step 700

    700

    #365BB1

    oklch(49.1% 0.143 264.3)

  9. Step 800

    800

    #2D4B90

    oklch(42.8% 0.119 264.3)

  10. Step 900

    900

    #283F73

    oklch(37.7% 0.094 264.4)

  11. Step 950

    950

    #182543

    oklch(27% 0.059 265)

Export this scale for Tailwind in the Tailwind colors tool

#4872D2 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)#427DD60.028
Deuteranopia (no green cones)#2970D00.028
Tritanopia (no blue cones)#0088980.128
Achromatopsia (no color)#7676760.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #4872D2

    #4872D2

    oklch(57.1% 0.155 264.3)

  • #987100

    #987100

    oklch(57.2% 0.117 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4872D2

    #4872D2

    oklch(57.1% 0.155 264.3)

  • #0082B3

    #0082B3

    oklch(57.2% 0.12 233.9)

  • #7F61C8

    #7F61C8

    oklch(57.1% 0.154 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #4872D2

    #4872D2

    oklch(57.1% 0.155 264.3)

  • #B65B00

    #B65B00

    oklch(57.1% 0.143 53.9)

  • #777F00

    #777F00

    oklch(57% 0.128 114.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4872D2

    #4872D2

    oklch(57.1% 0.155 264.3)

  • #C24A48

    #C24A48

    oklch(57.1% 0.155 24.3)

  • #2E8E35

    #2E8E35

    oklch(57.1% 0.155 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4872D2

    #4872D2

    oklch(57.1% 0.155 264.3)

  • #BA497D

    #BA497D

    oklch(57.1% 0.155 354.5)

  • #987100

    #987100

    oklch(57.2% 0.117 84.5)

  • #008C73

    #008C73

    oklch(57.1% 0.108 174.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4872D2 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.