#4878E7

Closest named color: Clear Blue (#247AFD). oklch(59.7% 0.176 264.2), rgb(72, 120, 231).

Aa

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

About this color

#4878E7 is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.176 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.039 away. Black text reads best on it, at 5.11:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.176)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.11:1
White text4.10:1

Values

HEX#4878E7
RGBrgb(72, 120, 231)
HSLhsl(222, 77%, 59%)
OKLCHoklch(59.7% 0.176 264.2)

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 #4878E7 4.10:1 AA large text Lc -73.3 Content text, not long reading
Black text on #4878E7 5.11:1 AA Lc 36.3 Non-text elements, placeholder text
#4878E7 text on white 4.10:1 AA large text Lc 67.8 Content text, not long reading
#4878E7 text on black 5.11:1 AA Lc -33.8 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

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A5C1F9

    oklch(81% 0.085 263.9)

  5. Step 400

    400

    #749EF6

    oklch(70.7% 0.137 263.9)

  6. Step 500

    500 (this color)

    #4878E7

    oklch(59.7% 0.176 264.2)

  7. Step 600

    600

    #3769E1

    oklch(55.6% 0.191 264.1)

  8. Step 700

    700

    #2A56C4

    oklch(49% 0.179 264.3)

  9. Step 800

    800

    #24479E

    oklch(42.6% 0.148 264.4)

  10. Step 900

    900

    #213D7E

    oklch(37.7% 0.115 264.1)

  11. Step 950

    950

    #14244A

    oklch(27% 0.074 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#4878E7 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)#3B85EB0.033
Deuteranopia (no green cones)#0B76E50.037
Tritanopia (no blue cones)#0092A40.143
Achromatopsia (no color)#7D7D7D0.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #4878E7

    #4878E7

    oklch(59.7% 0.176 264.2)

  • #A17800

    #A17800

    oklch(59.7% 0.122 84.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4878E7

    #4878E7

    oklch(59.7% 0.176 264.2)

  • #008ABE

    #008ABE

    oklch(59.7% 0.125 234.1)

  • #8864DC

    #8864DC

    oklch(59.7% 0.176 294.3)

Open the analogous palette in the generator

Split complementary

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

  • #4878E7

    #4878E7

    oklch(59.7% 0.176 264.2)

  • #C16200

    #C16200

    oklch(59.8% 0.149 54.5)

  • #7F8700

    #7F8700

    oklch(59.6% 0.134 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4878E7

    #4878E7

    oklch(59.7% 0.176 264.2)

  • #D44848

    #D44848

    oklch(59.7% 0.176 24.2)

  • #23992F

    #23992F

    oklch(59.8% 0.176 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4878E7

    #4878E7

    oklch(59.7% 0.176 264.2)

  • #CA4886

    #CA4886

    oklch(59.7% 0.175 354.2)

  • #A17800

    #A17800

    oklch(59.7% 0.122 84.6)

  • #00957A

    #00957A

    oklch(59.7% 0.114 173.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4878E7 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.