#5F45EE#5F45EE

#5F45EE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.9% C 0.239 H 281.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#5F45EE
RGBrgb(95, 69, 238)
HSLhsl(249, 83%, 60%)
HSVhsv(249, 71%, 93%)
CMYKcmyk(60.1%, 71%, 0%, 6.7%)
CIE-LABlab(42.55, 55.89, -81.14)
CIE-LCHlch(42.55, 98.53, 304.56°)
OKLaboklab(52.91% 0.0475 -0.2339)
OKLCHoklch(52.91% 0.239 281.5)
XYZxyz(22.2752, 12.8606, 82.1809)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F45EE #D4EE45
analogous
#457FEE #5F45EE #B445EE
triadic
#5F45EE #EE5F45 #45EE5F
tetradic
#5F45EE #EE457F #D4EE45 #45EEB4
square
#5F45EE #EE457F #D4EE45 #45EEB4
split-complementary
#5F45EE #EEB445 #7FEE45
monochromatic
#270FA9 #3415E1 #5F45EE #8F7DF3 #BFB5F8

Accessibility & contrast

On white

5.88
#5F45EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5F45EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F45EE
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F45EE#FFFFFF#000000##FFFFFF
##5F45EE1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF3
Deuteranopia (green-blind)
#005EEB
Tritanopia (blue-blind)
#007395
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5f45ee;
/* rgb */ color: rgb(95, 69, 238);
/* oklch */ color: oklch(52.9% 0.239 281.5);
Tailwind
colors: {
  custom: {
    50: '#9c7bf5',
    500: '#5f45ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f45ee;
$custom-light: #9c7bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f45ee",
  "rgb": {
    "r": 95,
    "g": 69,
    "b": 238
  },
  "hsl": {
    "h": 249.231,
    "s": 83.251,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52907,
    "c": 0.23872,
    "h": 281.5
  },
  "luminance": 0.12862
}

Semantic roles & 50–950 ramp

primary
#5F45EE
secondary
#DEE8A7
accent
#E006BE
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F45EE

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

Preview Lab → · Contrast checker → · Palette generator →

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