#5270D3

Closest named color: Royal Blue (#4169E1). oklch(57.3% 0.156 268.5), rgb(82, 112, 211).

Aa

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

About this color

#5270D3 is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.156 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.036 away. Black text reads best on it, at 4.61:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.156)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.61:1
White text4.54:1

Values

HEX#5270D3
RGBrgb(82, 112, 211)
HSLhsl(226, 59%, 57%)
OKLCHoklch(57.3% 0.156 268.5)

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 #5270D3 4.54:1 AA Lc -76.8 Fine for body text
Black text on #5270D3 4.61:1 AA Lc 32.8 Non-text elements, placeholder text
#5270D3 text on white 4.54:1 AA Lc 71.3 Content text, not long reading
#5270D3 text on black 4.61:1 AA Lc -30.3 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ADC0EF

    oklch(81% 0.07 267.6)

  5. Step 400

    400

    #839DE7

    oklch(70.6% 0.113 268.7)

  6. Step 500

    500

    #6583E0

    oklch(63% 0.144 268.6)

  7. Step 600

    600 (this color)

    #5270D3

    oklch(57.3% 0.156 268.5)

  8. Step 700

    700

    #3F59B2

    oklch(49.2% 0.144 268.4)

  9. Step 800

    800

    #344990

    oklch(42.8% 0.12 268.6)

  10. Step 900

    900

    #2D3E73

    oklch(37.8% 0.093 268.3)

  11. Step 950

    950

    #1A2443

    oklch(26.9% 0.06 268.7)

Export this scale for Tailwind in the Tailwind colors tool

#5270D3 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)#3F7CD70.033
Deuteranopia (no green cones)#2970D10.037
Tritanopia (no blue cones)#0087970.135
Achromatopsia (no color)#7676760.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #5270D3

    #5270D3

    oklch(57.3% 0.156 268.5)

  • #947300

    #947300

    oklch(57.2% 0.117 88.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5270D3

    #5270D3

    oklch(57.3% 0.156 268.5)

  • #0081BA

    #0081BA

    oklch(57.3% 0.127 238.2)

  • #855FC6

    #855FC6

    oklch(57.2% 0.155 298.4)

Open the analogous palette in the generator

Split complementary

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

  • #5270D3

    #5270D3

    oklch(57.3% 0.156 268.5)

  • #B26000

    #B26000

    oklch(57.3% 0.137 58.3)

  • #718200

    #718200

    oklch(57.3% 0.134 118.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5270D3

    #5270D3

    oklch(57.3% 0.156 268.5)

  • #C34B40

    #C34B40

    oklch(57.2% 0.156 28.2)

  • #17903F

    #17903F

    oklch(57.3% 0.156 148.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5270D3

    #5270D3

    oklch(57.3% 0.156 268.5)

  • #BD4977

    #BD4977

    oklch(57.3% 0.156 358.5)

  • #947300

    #947300

    oklch(57.2% 0.117 88.6)

  • #008C79

    #008C79

    oklch(57.3% 0.105 178.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5270D3 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.