#5256DD#5256DD

#5256DD is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.1% C 0.201 H 275.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5256DD
RGBrgb(82, 86, 221)
HSLhsl(238, 67%, 59%)
HSVhsv(238, 63%, 87%)
CMYKcmyk(62.9%, 61.1%, 0%, 13.3%)
CIE-LABlab(43.75, 39.11, -69.58)
CIE-LCHlch(43.75, 79.82, 299.34°)
OKLaboklab(53.1% 0.0204 -0.2004)
OKLCHoklch(53.1% 0.201 275.8)
XYZxyz(19.8543, 13.6682, 69.9845)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5256DD #DDD952
analogous
#529CDD #5256DD #9352DD
triadic
#5256DD #DD5256 #56DD52
tetradic
#5256DD #DD529C #DDD952 #52DD93
square
#5256DD #DD529C #DDD952 #52DD93
split-complementary
#5256DD #DD9352 #9CDD52
monochromatic
#1E2197 #282CCA #5256DD #8588E7 #B8BAF1

Accessibility & contrast

On white

5.62
#5256DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#5256DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5256DD
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5256DD#FFFFFF#000000##FFFFFF
##5256DD1.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)
#006EE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#007891
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5256dd;
/* rgb */ color: rgb(82, 86, 221);
/* oklch */ color: oklch(53.1% 0.201 275.8);
Tailwind
colors: {
  custom: {
    50: '#9186e9',
    500: '#5256dd',
    950: '#000000',
  },
}
SCSS
$custom: #5256dd;
$custom-light: #9186e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5256dd",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 238.273,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53097,
    "c": 0.20142,
    "h": 275.8
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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