#5275DD

Closest named color: Royal Blue (#4169E1). oklch(58.9% 0.163 267.3), rgb(82, 117, 221).

Aa

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

About this color

#5275DD is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.163 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.039 away. Black text reads best on it, at 4.94:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.163)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.94:1
White text4.24:1

Values

HEX#5275DD
RGBrgb(82, 117, 221)
HSLhsl(225, 67%, 59%)
OKLCHoklch(58.9% 0.163 267.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 #5275DD 4.24:1 AA large text Lc -74.5 Content text, not long reading
Black text on #5275DD 4.94:1 AA Lc 35.1 Non-text elements, placeholder text
#5275DD text on white 4.24:1 AA large text Lc 69.0 Content text, not long reading
#5275DD text on black 4.94:1 AA Lc -32.6 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

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #809EEA

    oklch(70.8% 0.117 267)

  6. Step 500

    500

    #6183E4

    oklch(63% 0.151 267.4)

  7. Step 600

    600 (this color)

    #5275DD

    oklch(58.9% 0.163 267.3)

  8. Step 700

    700

    #3B58B6

    oklch(49.1% 0.153 267.6)

  9. Step 800

    800

    #304993

    oklch(42.7% 0.125 267)

  10. Step 900

    900

    #2A3E75

    oklch(37.8% 0.097 266.7)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#5275DD 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)#4081E10.032
Deuteranopia (no green cones)#2675DB0.037
Tritanopia (no blue cones)#008D9E0.139
Achromatopsia (no color)#7B7B7B0.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #5275DD

    #5275DD

    oklch(58.9% 0.163 267.3)

  • #9C7700

    #9C7700

    oklch(58.9% 0.121 86.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5275DD

    #5275DD

    oklch(58.9% 0.163 267.3)

  • #0086C0

    #0086C0

    oklch(58.8% 0.13 237.7)

  • #8963D0

    #8963D0

    oklch(58.9% 0.163 297.2)

Open the analogous palette in the generator

Split complementary

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

  • #5275DD

    #5275DD

    oklch(58.9% 0.163 267.3)

  • #BA6300

    #BA6300

    oklch(59% 0.142 57.4)

  • #788700

    #788700

    oklch(59.1% 0.137 117.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5275DD

    #5275DD

    oklch(58.9% 0.163 267.3)

  • #CC4D44

    #CC4D44

    oklch(59% 0.163 27.2)

  • #1C963D

    #1C963D

    oklch(59% 0.164 147.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5275DD

    #5275DD

    oklch(58.9% 0.163 267.3)

  • #C54B7E

    #C54B7E

    oklch(59% 0.163 357.4)

  • #9C7700

    #9C7700

    oklch(58.9% 0.121 86.8)

  • #00927C

    #00927C

    oklch(59% 0.109 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5275DD 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.