#4879F2

Closest named color: Clear Blue (#247AFD). oklch(60.7% 0.19 264.7), rgb(72, 121, 242).

Aa

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

About this color

#4879F2 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.190 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.029 away. Black text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.190)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.29:1
White text3.96:1

Values

HEX#4879F2
RGBrgb(72, 121, 242)
HSLhsl(223, 87%, 62%)
OKLCHoklch(60.7% 0.19 264.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 #4879F2 3.96:1 AA large text Lc -72.1 Content text, not long reading
Black text on #4879F2 5.29:1 AA Lc 37.5 Non-text elements, placeholder text
#4879F2 text on white 3.96:1 AA large text Lc 66.6 Content text, not long reading
#4879F2 text on black 5.29:1 AA Lc -35.0 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C8D9FC

    oklch(88.4% 0.052 264.8)

  4. Step 300

    300

    #A3C0FD

    oklch(80.9% 0.092 264.7)

  5. Step 400

    400

    #729DFD

    oklch(70.7% 0.149 264.7)

  6. Step 500

    500 (this color)

    #4879F2

    oklch(60.7% 0.19 264.7)

  7. Step 600

    600

    #3566EA

    oklch(55.6% 0.207 264.9)

  8. Step 700

    700

    #2854CB

    oklch(49.1% 0.191 264.7)

  9. Step 800

    800

    #2245A4

    oklch(42.6% 0.159 264.9)

  10. Step 900

    900

    #203C82

    oklch(37.8% 0.123 264.7)

  11. Step 950

    950

    #13244C

    oklch(27.1% 0.077 264.5)

Export this scale for Tailwind in the Tailwind colors tool

#4879F2 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)#3088F60.038
Deuteranopia (no green cones)#0078F00.037
Tritanopia (no blue cones)#0096AA0.153
Achromatopsia (no color)#8080800.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #4879F2

    #4879F2

    oklch(60.7% 0.19 264.7)

  • #A47B00

    #A47B00

    oklch(60.7% 0.124 85.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4879F2

    #4879F2

    oklch(60.7% 0.19 264.7)

  • #008DC3

    #008DC3

    oklch(60.7% 0.128 234.6)

  • #8D63E6

    #8D63E6

    oklch(60.7% 0.19 294.9)

Open the analogous palette in the generator

Split complementary

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

  • #4879F2

    #4879F2

    oklch(60.7% 0.19 264.7)

  • #C56400

    #C56400

    oklch(60.7% 0.151 54.4)

  • #818B00

    #818B00

    oklch(60.8% 0.137 114.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4879F2

    #4879F2

    oklch(60.7% 0.19 264.7)

  • #DD4444

    #DD4444

    oklch(60.7% 0.19 24.8)

  • #0A9D2A

    #0A9D2A

    oklch(60.6% 0.189 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4879F2

    #4879F2

    oklch(60.7% 0.19 264.7)

  • #D34488

    #D34488

    oklch(60.7% 0.189 355)

  • #A47B00

    #A47B00

    oklch(60.7% 0.124 85.1)

  • #00987E

    #00987E

    oklch(60.7% 0.115 174.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #4879F2.

Similar named colors

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

Use #4879F2 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.