#5F53EA#5F53EA

#5F53EA is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.6% C 0.219 H 279.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F53EA
RGBrgb(95, 83, 234)
HSLhsl(245, 78%, 62%)
HSVhsv(245, 65%, 92%)
CMYKcmyk(59.4%, 64.5%, 0%, 8.2%)
CIE-LABlab(45.02, 47.00, -74.84)
CIE-LCHlch(45.02, 88.37, 302.13°)
OKLaboklab(54.58% 0.0375 -0.2155)
OKLCHoklch(54.58% 0.219 279.9)
XYZxyz(22.6592, 14.5583, 79.4419)
Luminance0.1456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F53EA #DEEA53
analogous
#5393EA #5F53EA #AA53EA
triadic
#5F53EA #EA5F53 #53EA5F
tetradic
#5F53EA #EA5393 #DEEA53 #53EAAA
square
#5F53EA #EA5393 #DEEA53 #53EAAA
split-complementary
#5F53EA #EAAA53 #93EA53
monochromatic
#2115AD #2C1CE3 #5F53EA #928AF1 #C4C0F7

Accessibility & contrast

On white

5.37
#5F53EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#5F53EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F53EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F53EA#FFFFFF#000000##FFFFFF
##5F53EA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EF
Deuteranopia (green-blind)
#0065E7
Tritanopia (blue-blind)
#007A97
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f53ea;
/* rgb */ color: rgb(95, 83, 234);
/* oklch */ color: oklch(54.6% 0.219 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a84f2',
    500: '#5f53ea',
    950: '#000000',
  },
}
SCSS
$custom: #5f53ea;
$custom-light: #9a84f2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f53ea",
  "rgb": {
    "r": 95,
    "g": 83,
    "b": 234
  },
  "hsl": {
    "h": 244.768,
    "s": 78.238,
    "l": 62.157
  },
  "oklch": {
    "l": 0.54578,
    "c": 0.21871,
    "h": 279.9
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#5F53EA
secondary
#E4E8B1
accent
#DB0BCA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F53EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5F53EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva