#5256E0#5256E0

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

Color values

HEX#5256E0
RGBrgb(82, 86, 224)
HSLhsl(238, 70%, 60%)
HSVhsv(238, 63%, 88%)
CMYKcmyk(63.4%, 61.6%, 0%, 12.2%)
CIE-LABlab(43.99, 40.10, -70.90)
CIE-LCHlch(43.99, 81.46, 299.49°)
OKLaboklab(53.34% 0.0203 -0.2043)
OKLCHoklch(53.34% 0.205 275.7)
XYZxyz(20.2576, 13.8295, 72.1084)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5256E0 #E0DC52
analogous
#529DE0 #5256E0 #9552E0
triadic
#5256E0 #E05256 #56E052
tetradic
#5256E0 #E0529D #E0DC52 #52E095
square
#5256E0 #E0529D #E0DC52 #52E095
split-complementary
#5256E0 #E09552 #9DE052
monochromatic
#1C1F9C #252AD0 #5256E0 #8689E9 #BABBF3

Accessibility & contrast

On white

5.58
#5256E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5256E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5256E0
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5256E0#FFFFFF#000000##FFFFFF
##5256E01.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)
#006EE4
Deuteranopia (green-blind)
#0062DD
Tritanopia (blue-blind)
#007993
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5256e0;
/* rgb */ color: rgb(82, 86, 224);
/* oklch */ color: oklch(53.3% 0.205 275.7);
Tailwind
colors: {
  custom: {
    50: '#9286eb',
    500: '#5256e0',
    950: '#000000',
  },
}
SCSS
$custom: #5256e0;
$custom-light: #9286eb;
$custom-dark: #000000;
JSON
{
  "hex": "#5256e0",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 224
  },
  "hsl": {
    "h": 238.31,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.53342,
    "c": 0.20527,
    "h": 275.7
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#5256E0
secondary
#E2E1AC
accent
#E73BEC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #5256E0

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

Preview Lab → · Contrast checker → · Palette generator →

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