#5256E9#5256E9

#5256E9 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.1% C 0.217 H 275.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5256E9
RGBrgb(82, 86, 233)
HSLhsl(238, 77%, 62%)
HSVhsv(238, 65%, 91%)
CMYKcmyk(64.8%, 63.1%, 0%, 8.6%)
CIE-LABlab(44.70, 43.05, -74.83)
CIE-LCHlch(44.70, 86.33, 299.91°)
OKLaboklab(54.09% 0.0197 -0.2158)
OKLCHoklch(54.09% 0.217 275.2)
XYZxyz(21.5106, 14.3307, 78.7075)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5256E9 #E9E552
analogous
#52A1E9 #5256E9 #9A52E9
triadic
#5256E9 #E95256 #56E952
tetradic
#5256E9 #E952A1 #E9E552 #52E99A
square
#5256E9 #E952A1 #E9E552 #52E99A
split-complementary
#5256E9 #E99A52 #A1E952
monochromatic
#161AAB #1D22E1 #5256E9 #888BF0 #BFC0F7

Accessibility & contrast

On white

5.43
#5256E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#5256E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5256E9
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5256E9#FFFFFF#000000##FFFFFF
##5256E91.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EE
Deuteranopia (green-blind)
#0063E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5256e9;
/* rgb */ color: rgb(82, 86, 233);
/* oklch */ color: oklch(54.1% 0.217 275.2);
Tailwind
colors: {
  custom: {
    50: '#9386f1',
    500: '#5256e9',
    950: '#000000',
  },
}
SCSS
$custom: #5256e9;
$custom-light: #9386f1;
$custom-dark: #000000;
JSON
{
  "hex": "#5256e9",
  "rgb": {
    "r": 82,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 238.411,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54089,
    "c": 0.2167,
    "h": 275.2
  },
  "luminance": 0.14333
}

Semantic roles & 50–950 ramp

primary
#5256E9
secondary
#E7E6AF
accent
#D40CDA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B17
muted
#7E7C85

Preview Lab

Preview with #5256E9

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

Preview Lab → · Contrast checker → · Palette generator →

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