#5255DD#5255DD

#5255DD is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.9% C 0.203 H 276.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#5255DD
RGBrgb(82, 85, 221)
HSLhsl(239, 67%, 59%)
HSVhsv(239, 63%, 87%)
CMYKcmyk(62.9%, 61.5%, 0%, 13.3%)
CIE-LABlab(43.52, 39.72, -69.96)
CIE-LCHlch(43.52, 80.45, 299.59°)
OKLaboklab(52.93% 0.0212 -0.2015)
OKLCHoklch(52.93% 0.203 276)
XYZxyz(19.7751, 13.5097, 69.9581)
Luminance0.1351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5255DD #DDDA52
analogous
#529BDD #5255DD #9552DD
triadic
#5255DD #DD5255 #55DD52
tetradic
#5255DD #DD529B #DDDA52 #52DD95
square
#5255DD #DD529B #DDDA52 #52DD95
split-complementary
#5255DD #DD9552 #9BDD52
monochromatic
#1E2097 #282BCA #5255DD #8587E7 #B8BAF1

Accessibility & contrast

On white

5.67
#5255DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#5255DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5255DD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5255DD#FFFFFF#000000##FFFFFF
##5255DD1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5255dd;
/* rgb */ color: rgb(82, 85, 221);
/* oklch */ color: oklch(52.9% 0.203 276.0);
Tailwind
colors: {
  custom: {
    50: '#9185e9',
    500: '#5255dd',
    950: '#000000',
  },
}
SCSS
$custom: #5255dd;
$custom-light: #9185e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5255dd",
  "rgb": {
    "r": 82,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 238.705,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.52927,
    "c": 0.20262,
    "h": 276
  },
  "luminance": 0.13511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5255DD

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

Preview Lab → · Contrast checker → · Palette generator →

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