#5F49DB#5F49DB

#5F49DB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.212 H 283.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F49DB
RGBrgb(95, 73, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(56.6%, 66.7%, 0%, 14.1%)
CIE-LABlab(41.71, 48.08, -71.74)
CIE-LCHlch(41.71, 86.36, 303.83°)
OKLaboklab(51.8% 0.0476 -0.2064)
OKLCHoklch(51.8% 0.212 283)
XYZxyz(19.8841, 12.3112, 68.3326)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F49DB #C5DB49
analogous
#497CDB #5F49DB #A849DB
triadic
#5F49DB #DB5F49 #49DB5F
tetradic
#5F49DB #DB497C #C5DB49 #49DBA8
square
#5F49DB #DB497C #C5DB49 #49DBA8
split-complementary
#5F49DB #DBA849 #7CDB49
monochromatic
#2D1C8E #3D26C1 #5F49DB #8C7CE5 #B9AFEF

Accessibility & contrast

On white

6.07
#5F49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5F49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F49DB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F49DB#FFFFFF#000000##FFFFFF
##5F49DB1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#1C6F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f49db;
/* rgb */ color: rgb(95, 73, 219);
/* oklch */ color: oklch(51.8% 0.212 283.0);
Tailwind
colors: {
  custom: {
    50: '#987de7',
    500: '#5f49db',
    950: '#000000',
  },
}
SCSS
$custom: #5f49db;
$custom-light: #987de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f49db",
  "rgb": {
    "r": 95,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 249.041,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51802,
    "c": 0.21182,
    "h": 283
  },
  "luminance": 0.12312
}

Semantic roles & 50–950 ramp

primary
#5F49DB
secondary
#D5DDA2
accent
#EA3ED0
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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