#4864CE

Closest named color: Royal Blue (#4169E1). oklch(53.9% 0.167 269), rgb(72, 100, 206).

Aa

White text reads best on this color (5.26:1).

About this color

#4864CE is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.167 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.031 away. White text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text3.98:1
White text5.26:1

Values

HEX#4864CE
RGBrgb(72, 100, 206)
HSLhsl(227, 58%, 55%)
OKLCHoklch(53.9% 0.167 269)

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 #4864CE 5.26:1 AA Lc -81.2 Fine for body text
Black text on #4864CE 3.98:1 AA large text Lc 28.3 Dividers and decoration only
#4864CE text on white 5.26:1 AA Lc 75.8 Fine for body text
#4864CE text on black 3.98:1 AA large text Lc -25.9 Dividers and decoration only

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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CED9F6

    oklch(88.6% 0.042 269)

  4. Step 300

    300

    #ADBFF2

    oklch(80.9% 0.075 269.5)

  5. Step 400

    400

    #829DEC

    oklch(70.8% 0.12 268.9)

  6. Step 500

    500

    #6482E6

    oklch(63.1% 0.154 269.1)

  7. Step 600

    600 (this color)

    #4864CE

    oklch(53.9% 0.167 269)

  8. Step 700

    700

    #3E57B7

    oklch(49.1% 0.154 269.1)

  9. Step 800

    800

    #334894

    oklch(42.8% 0.127 268.9)

  10. Step 900

    900

    #2C3D76

    oklch(37.7% 0.099 268.8)

  11. Step 950

    950

    #1A2445

    oklch(27% 0.063 269.2)

Export this scale for Tailwind in the Tailwind colors tool

#4864CE 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)#2472D20.042
Deuteranopia (no green cones)#0066CC0.044
Tritanopia (no blue cones)#007D8F0.140
Achromatopsia (no color)#6C6C6C0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #4864CE

    #4864CE

    oklch(53.9% 0.167 269)

  • #886A00

    #886A00

    oklch(53.9% 0.11 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4864CE

    #4864CE

    oklch(53.9% 0.167 269)

  • #0076AD

    #0076AD

    oklch(53.9% 0.122 239.3)

  • #7E52C0

    #7E52C0

    oklch(54% 0.167 299.2)

Open the analogous palette in the generator

Split complementary

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

  • #4864CE

    #4864CE

    oklch(53.9% 0.167 269)

  • #A35900

    #A35900

    oklch(54% 0.127 59.5)

  • #677800

    #677800

    oklch(54% 0.127 119.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4864CE

    #4864CE

    oklch(53.9% 0.167 269)

  • #BC3B2F

    #BC3B2F

    oklch(53.9% 0.167 29.1)

  • #008538

    #008538

    oklch(53.9% 0.151 149.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4864CE

    #4864CE

    oklch(53.9% 0.167 269)

  • #B6386C

    #B6386C

    oklch(53.9% 0.168 359.1)

  • #886A00

    #886A00

    oklch(53.9% 0.11 89.1)

  • #008170

    #008170

    oklch(54% 0.099 179.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4864CE 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.