#5F55EE#5F55EE

#5F55EE is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.221 H 279.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#5F55EE
RGBrgb(95, 85, 238)
HSLhsl(244, 82%, 63%)
HSVhsv(244, 64%, 93%)
CMYKcmyk(60.1%, 64.3%, 0%, 6.7%)
CIE-LABlab(45.77, 47.09, -75.87)
CIE-LCHlch(45.77, 89.29, 301.83°)
OKLaboklab(55.22% 0.0354 -0.2185)
OKLCHoklch(55.22% 0.221 279.2)
XYZxyz(23.3955, 15.1012, 82.5543)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55EE #E4EE55
analogous
#5597EE #5F55EE #AC55EE
triadic
#5F55EE #EE5F55 #55EE5F
tetradic
#5F55EE #EE5597 #E4EE55 #55EEAC
square
#5F55EE #EE5597 #E4EE55 #55EEAC
split-complementary
#5F55EE #EEAC55 #97EE55
monochromatic
#1D12B6 #2B1DE8 #5F55EE #938DF4 #C8C4F9

Accessibility & contrast

On white

5.22
#5F55EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#5F55EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55EE
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55EE#FFFFFF#000000##FFFFFF
##5F55EE1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#0066EB
Tritanopia (blue-blind)
#007C9A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f55ee;
/* rgb */ color: rgb(95, 85, 238);
/* oklch */ color: oklch(55.2% 0.221 279.2);
Tailwind
colors: {
  custom: {
    50: '#9a86f5',
    500: '#5f55ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f55ee;
$custom-light: #9a86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55ee",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 243.922,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55221,
    "c": 0.22134,
    "h": 279.2
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#5F55EE
secondary
#E7EBB4
accent
#DE07D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #5F55EE

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

Preview Lab → · Contrast checker → · Palette generator →

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