#5F49EE#5F49EE

#5F49EE is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.4% C 0.235 H 281.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5F49EE
RGBrgb(95, 73, 238)
HSLhsl(248, 83%, 61%)
HSVhsv(248, 69%, 93%)
CMYKcmyk(60.1%, 69.3%, 0%, 6.7%)
CIE-LABlab(43.31, 53.77, -79.89)
CIE-LCHlch(43.31, 96.30, 303.94°)
OKLaboklab(53.45% 0.0447 -0.2303)
OKLCHoklch(53.45% 0.235 281)
XYZxyz(22.5296, 13.3694, 82.2657)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49EE #D8EE49
analogous
#4985EE #5F49EE #B149EE
triadic
#5F49EE #EE5F49 #49EE5F
tetradic
#5F49EE #EE4985 #D8EE49 #49EEB1
square
#5F49EE #EE4985 #D8EE49 #49EEB1
split-complementary
#5F49EE #EEB149 #85EE49
monochromatic
#2510AC #3115E4 #5F49EE #9081F3 #C1B9F8

Accessibility & contrast

On white

5.72
#5F49EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5F49EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49EE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49EE#FFFFFF#000000##FFFFFF
##5F49EE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF3
Deuteranopia (green-blind)
#0060EB
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f49ee;
/* rgb */ color: rgb(95, 73, 238);
/* oklch */ color: oklch(53.4% 0.235 281.0);
Tailwind
colors: {
  custom: {
    50: '#9b7ef5',
    500: '#5f49ee',
    950: '#000000',
  },
}
SCSS
$custom: #5f49ee;
$custom-light: #9b7ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49ee",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 248,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5345,
    "c": 0.23458,
    "h": 281
  },
  "luminance": 0.13371
}

Semantic roles & 50–950 ramp

primary
#5F49EE
secondary
#E0E9AA
accent
#DF06C2
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F49EE

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

Preview Lab → · Contrast checker → · Palette generator →

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