#5F49EC#5F49EC

#5F49EC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.3% C 0.232 H 281.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5F49EC
RGBrgb(95, 73, 236)
HSLhsl(248, 81%, 61%)
HSVhsv(248, 69%, 93%)
CMYKcmyk(59.7%, 69.1%, 0%, 7.5%)
CIE-LABlab(43.14, 53.18, -79.05)
CIE-LCHlch(43.14, 95.27, 303.93°)
OKLaboklab(53.27% 0.045 -0.2278)
OKLCHoklch(53.27% 0.232 281.2)
XYZxyz(22.2374, 13.2525, 80.7268)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49EC #D6EC49
analogous
#4984EC #5F49EC #B049EC
triadic
#5F49EC #EC5F49 #49EC5F
tetradic
#5F49EC #EC4984 #D6EC49 #49ECB0
square
#5F49EC #EC4984 #D6EC49 #49ECB0
split-complementary
#5F49EC #ECB049 #84EC49
monochromatic
#2612A9 #3317E0 #5F49EC #9080F2 #C0B8F8

Accessibility & contrast

On white

5.75
#5F49EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5F49EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49EC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49EC#FFFFFF#000000##FFFFFF
##5F49EC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF1
Deuteranopia (green-blind)
#0060E9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5f49ec;
/* rgb */ color: rgb(95, 73, 236);
/* oklch */ color: oklch(53.3% 0.232 281.2);
Tailwind
colors: {
  custom: {
    50: '#9b7ef3',
    500: '#5f49ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f49ec;
$custom-light: #9b7ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49ec",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 248.098,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.53273,
    "c": 0.23222,
    "h": 281.2
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#5F49EC
secondary
#DFE7A9
accent
#DD08C1
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #5F49EC

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

Preview Lab → · Contrast checker → · Palette generator →

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