#5257DA#5257DA

#5257DA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.196 H 275.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5257DA
RGBrgb(82, 87, 218)
HSLhsl(238, 65%, 59%)
HSVhsv(238, 62%, 85%)
CMYKcmyk(62.4%, 60.1%, 0%, 14.5%)
CIE-LABlab(43.76, 37.52, -67.86)
CIE-LCHlch(43.76, 77.54, 298.94°)
OKLaboklab(53.03% 0.0197 -0.1953)
OKLCHoklch(53.03% 0.196 275.8)
XYZxyz(19.5386, 13.6706, 67.9251)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5257DA #DAD552
analogous
#529BDA #5257DA #9152DA
triadic
#5257DA #DA5257 #57DA52
tetradic
#5257DA #DA529B #DAD552 #52DA91
square
#5257DA #DA529B #DAD552 #52DA91
split-complementary
#5257DA #DA9152 #9BDA52
monochromatic
#1F2492 #2A30C5 #5257DA #8488E5 #B7B9F0

Accessibility & contrast

On white

5.62
#5257DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5257DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5257DA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5257DA#FFFFFF#000000##FFFFFF
##5257DA1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0062D7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5257da;
/* rgb */ color: rgb(82, 87, 218);
/* oklch */ color: oklch(53.0% 0.196 275.8);
Tailwind
colors: {
  custom: {
    50: '#9086e6',
    500: '#5257da',
    950: '#000000',
  },
}
SCSS
$custom: #5257da;
$custom-light: #9086e6;
$custom-dark: #000000;
JSON
{
  "hex": "#5257da",
  "rgb": {
    "r": 82,
    "g": 87,
    "b": 218
  },
  "hsl": {
    "h": 237.794,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53028,
    "c": 0.19632,
    "h": 275.8
  },
  "luminance": 0.13672
}

Semantic roles & 50–950 ramp

primary
#5257DA
secondary
#DFDDA9
accent
#E240E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5257DA

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

Preview Lab → · Contrast checker → · Palette generator →

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