#5341EA#5341EA

#5341EA is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.1% C 0.240 H 278.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5341EA
RGBrgb(83, 65, 234)
HSLhsl(246, 80%, 59%)
HSVhsv(246, 72%, 92%)
CMYKcmyk(64.5%, 72.2%, 0%, 8.2%)
CIE-LABlab(40.51, 55.34, -82.28)
CIE-LCHlch(40.51, 99.16, 303.92°)
OKLaboklab(51.11% 0.0352 -0.2376)
OKLCHoklch(51.11% 0.24 278.4)
XYZxyz(20.3041, 11.5584, 78.9870)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5341EA #D8EA41
analogous
#4183EA #5341EA #A841EA
triadic
#5341EA #EA5341 #41EA53
tetradic
#5341EA #EA4183 #D8EA41 #41EAA8
square
#5341EA #EA4183 #D8EA41 #41EAA8
split-complementary
#5341EA #EAA841 #83EA41
monochromatic
#21129F #2C18D6 #5341EA #8578F0 #B7AFF6

Accessibility & contrast

On white

6.34
#5341EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5341EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5341EA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5341EA#FFFFFF#000000##FFFFFF
##5341EA1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066EF
Deuteranopia (green-blind)
#0059E7
Tritanopia (blue-blind)
#007192
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5341ea;
/* rgb */ color: rgb(83, 65, 234);
/* oklch */ color: oklch(51.1% 0.240 278.4);
Tailwind
colors: {
  custom: {
    50: '#9578f2',
    500: '#5341ea',
    950: '#000000',
  },
}
SCSS
$custom: #5341ea;
$custom-light: #9578f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5341ea",
  "rgb": {
    "r": 83,
    "g": 65,
    "b": 234
  },
  "hsl": {
    "h": 246.391,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.24017,
    "h": 278.4
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#5341EA
secondary
#DEE5A2
accent
#F731E2
background
#FAF7FF
surface
#F3EDFE
border
#CDC8D6
text
#0F0917
muted
#7F7B85

Preview Lab

Preview with #5341EA

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

Preview Lab → · Contrast checker → · Palette generator →

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