#4852AC

Closest named color: Twilight (#4E518B). oklch(47.9% 0.142 274.9), rgb(72, 82, 172).

Aa

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

About this color

#4852AC is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.142 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.054 away. White text reads best on it, at 6.82:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.142)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text3.07:1
White text6.82:1

Values

HEX#4852AC
RGBrgb(72, 82, 172)
HSLhsl(234, 41%, 48%)
OKLCHoklch(47.9% 0.142 274.9)

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 #4852AC 6.82:1 AA Lc -88.3 Fine for body text
Black text on #4852AC 3.07:1 AA large text Lc 20.8 Dividers and decoration only
#4852AC text on white 6.82:1 AA Lc 83.3 Fine for body text
#4852AC text on black 3.07:1 AA large text Lc -18.7 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 700.

  1. Step 50

    50

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E6E9F8

    oklch(93.6% 0.02 276.9)

  3. Step 200

    200

    #D1D8F3

    oklch(88.5% 0.038 274.1)

  4. Step 300

    300

    #B3BEEE

    oklch(80.9% 0.069 274.7)

  5. Step 400

    400

    #8C9BE5

    oklch(70.7% 0.11 274.5)

  6. Step 500

    500

    #7180DE

    oklch(63.1% 0.142 274.8)

  7. Step 600

    600

    #5B67CB

    oklch(55.5% 0.153 275.1)

  8. Step 700

    700 (this color)

    #4852AC

    oklch(47.9% 0.142 274.9)

  9. Step 800

    800

    #3D468E

    oklch(42.6% 0.118 274.9)

  10. Step 900

    900

    #343C72

    oklch(37.8% 0.092 274.8)

  11. Step 950

    950

    #1E2343

    oklch(26.9% 0.06 275)

Export this scale for Tailwind in the Tailwind colors tool

#4852AC 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)#205FAF0.047
Deuteranopia (no green cones)#0857AA0.052
Tritanopia (no blue cones)#0467770.126
Achromatopsia (no color)#5B5B5B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #4852AC

    #4852AC

    oklch(47.9% 0.142 274.9)

  • #6F5C00

    #6F5C00

    oklch(47.9% 0.098 94.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4852AC

    #4852AC

    oklch(47.9% 0.142 274.9)

  • #00629C

    #00629C

    oklch(47.9% 0.12 244.9)

  • #70439D

    #70439D

    oklch(47.8% 0.144 304.6)

Open the analogous palette in the generator

Split complementary

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

  • #4852AC

    #4852AC

    oklch(47.9% 0.142 274.9)

  • #864E00

    #864E00

    oklch(47.9% 0.108 64.7)

  • #4E6800

    #4E6800

    oklch(47.9% 0.12 124.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4852AC

    #4852AC

    oklch(47.9% 0.142 274.9)

  • #9D361D

    #9D361D

    oklch(47.8% 0.142 34.7)

  • #00703E

    #00703E

    oklch(47.9% 0.119 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4852AC

    #4852AC

    oklch(47.9% 0.142 274.9)

  • #9B3153

    #9B3153

    oklch(47.9% 0.143 4.7)

  • #6F5C00

    #6F5C00

    oklch(47.9% 0.098 94.9)

  • #006C63

    #006C63

    oklch(47.8% 0.084 184.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4852AC 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.