#5236EA#5236EA

#5236EA is a mid, highly saturated blue. Relative luminance 0.104; OKLCH L 49.7% C 0.250 H 279.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#5236EA
RGBrgb(82, 54, 234)
HSLhsl(249, 81%, 56%)
HSVhsv(249, 77%, 92%)
CMYKcmyk(65%, 76.9%, 0%, 8.2%)
CIE-LABlab(38.50, 60.71, -85.59)
CIE-LCHlch(38.50, 104.94, 305.35°)
OKLaboklab(49.68% 0.04 -0.2472)
OKLCHoklch(49.68% 0.25 279.2)
XYZxyz(19.6454, 10.3711, 78.7925)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5236EA #CEEA36
analogous
#3674EA #5236EA #AC36EA
triadic
#5236EA #EA5236 #36EA52
tetradic
#5236EA #EA3674 #CEEA36 #36EAAC
square
#5236EA #EA3674 #CEEA36 #36EAAC
split-complementary
#5236EA #EAAC36 #74EA36
monochromatic
#251096 #3215CD #5236EA #826DF0 #B1A5F6

Accessibility & contrast

On white

6.83
#5236EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#5236EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5236EA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5236EA#FFFFFF#000000##FFFFFF
##5236EA1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061EF
Deuteranopia (green-blind)
#0053E7
Tritanopia (blue-blind)
#006C8F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5236ea;
/* rgb */ color: rgb(82, 54, 234);
/* oklch */ color: oklch(49.7% 0.250 279.2);
Tailwind
colors: {
  custom: {
    50: '#9672f2',
    500: '#5236ea',
    950: '#000000',
  },
}
SCSS
$custom: #5236ea;
$custom-light: #9672f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5236ea",
  "rgb": {
    "r": 82,
    "g": 54,
    "b": 234
  },
  "hsl": {
    "h": 249.333,
    "s": 81.081,
    "l": 56.471
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.25038,
    "h": 279.2
  },
  "luminance": 0.10373
}

Semantic roles & 50–950 ramp

primary
#5236EA
secondary
#D7E399
accent
#F730D8
background
#FAF7FF
surface
#F4EDFE
border
#CEC8D6
text
#0F0817
muted
#7F7B85

Preview Lab

Preview with #5236EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5236EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva