#5266D2

Closest named color: Royal Blue (#4169E1). oklch(55.2% 0.167 272), rgb(82, 102, 210).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.18:1
White text5.01:1

Values

HEX#5266D2
RGBrgb(82, 102, 210)
HSLhsl(231, 59%, 57%)
OKLCHoklch(55.2% 0.167 272)

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 #5266D2 5.01:1 AA Lc -79.8 Fine for body text
Black text on #5266D2 4.18:1 AA large text Lc 29.7 Dividers and decoration only
#5266D2 text on white 5.01:1 AA Lc 74.3 Content text, not long reading
#5266D2 text on black 4.18:1 AA large text Lc -27.4 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

    #E4E9F9

    oklch(93.5% 0.022 272.1)

  3. Step 200

    200

    #CFD8F6

    oklch(88.5% 0.042 272.3)

  4. Step 300

    300

    #AFBEF2

    oklch(80.8% 0.076 272.1)

  5. Step 400

    400

    #869BEC

    oklch(70.7% 0.121 271.9)

  6. Step 500

    500

    #6A80E5

    oklch(63% 0.153 272.1)

  7. Step 600

    600 (this color)

    #5266D2

    oklch(55.2% 0.167 272)

  8. Step 700

    700

    #4455B7

    oklch(49.1% 0.155 272)

  9. Step 800

    800

    #384694

    oklch(42.7% 0.128 272.2)

  10. Step 900

    900

    #303C76

    oklch(37.8% 0.1 272)

  11. Step 950

    950

    #1C2345

    oklch(26.9% 0.064 272.7)

Export this scale for Tailwind in the Tailwind colors tool

#5266D2 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)#2775D60.048
Deuteranopia (no green cones)#006AD00.054
Tritanopia (no blue cones)#007F920.144
Achromatopsia (no color)#6F6F6F0.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #5266D2

    #5266D2

    oklch(55.2% 0.167 272)

  • #8A6F00

    #8A6F00

    oklch(55.2% 0.113 91.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5266D2

    #5266D2

    oklch(55.2% 0.167 272)

  • #0079B7

    #0079B7

    oklch(55.2% 0.131 241.9)

  • #8554C2

    #8554C2

    oklch(55.2% 0.167 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #5266D2

    #5266D2

    oklch(55.2% 0.167 272)

  • #A55E00

    #A55E00

    oklch(55.2% 0.127 62.2)

  • #667D00

    #667D00

    oklch(55.1% 0.133 121.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5266D2

    #5266D2

    oklch(55.2% 0.167 272)

  • #C0412C

    #C0412C

    oklch(55.2% 0.167 31.9)

  • #008944

    #008944

    oklch(55.2% 0.146 151.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5266D2

    #5266D2

    oklch(55.2% 0.167 272)

  • #BB3C6B

    #BB3C6B

    oklch(55.1% 0.167 1.6)

  • #8A6F00

    #8A6F00

    oklch(55.2% 0.113 91.9)

  • #008576

    #008576

    oklch(55.3% 0.1 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5266D2 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.