#5257DD#5257DD

#5257DD is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.200 H 275.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5257DD
RGBrgb(82, 87, 221)
HSLhsl(238, 67%, 59%)
HSVhsv(238, 63%, 87%)
CMYKcmyk(62.9%, 60.6%, 0%, 13.3%)
CIE-LABlab(43.99, 38.51, -69.20)
CIE-LCHlch(43.99, 79.19, 299.10°)
OKLaboklab(53.27% 0.0196 -0.1992)
OKLCHoklch(53.27% 0.2 275.6)
XYZxyz(19.9347, 13.8290, 70.0113)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5257DD #DDD852
analogous
#529CDD #5257DD #9352DD
triadic
#5257DD #DD5257 #57DD52
tetradic
#5257DD #DD529C #DDD852 #52DD93
square
#5257DD #DD529C #DDD852 #52DD93
split-complementary
#5257DD #DD9352 #9CDD52
monochromatic
#1E2297 #282ECA #5257DD #8589E7 #B8BAF1

Accessibility & contrast

On white

5.58
#5257DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5257DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5257DD
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5257DD#FFFFFF#000000##FFFFFF
##5257DD1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE1
Deuteranopia (green-blind)
#0062DA
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5257dd;
/* rgb */ color: rgb(82, 87, 221);
/* oklch */ color: oklch(53.3% 0.200 275.6);
Tailwind
colors: {
  custom: {
    50: '#9186e9',
    500: '#5257dd',
    950: '#000000',
  },
}
SCSS
$custom: #5257dd;
$custom-light: #9186e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5257dd",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 221
  },
  "hsl": {
    "h": 237.842,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53269,
    "c": 0.20021,
    "h": 275.6
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#5257DD
secondary
#E0DFAA
accent
#E43EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5257DD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5257DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva