#5F48DB#5F48DB

#5F48DB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.213 H 283.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F48DB
RGBrgb(95, 72, 219)
HSLhsl(249, 67%, 57%)
HSVhsv(249, 67%, 86%)
CMYKcmyk(56.6%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.50, 48.64, -72.07)
CIE-LCHlch(41.50, 86.95, 304.01°)
OKLaboklab(51.65% 0.0485 -0.2074)
OKLCHoklch(51.65% 0.213 283.2)
XYZxyz(19.8189, 12.1809, 68.3109)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F48DB #C4DB48
analogous
#487BDB #5F48DB #A948DB
triadic
#5F48DB #DB5F48 #48DB5F
tetradic
#5F48DB #DB487B #C4DB48 #48DBA9
square
#5F48DB #DB487B #C4DB48 #48DBA9
split-complementary
#5F48DB #DBA948 #7BDB48
monochromatic
#2D1C8D #3E26C0 #5F48DB #8C7BE5 #B8AEEF

Accessibility & contrast

On white

6.11
#5F48DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F48DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F48DB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F48DB#FFFFFF#000000##FFFFFF
##5F48DB1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f48db;
/* rgb */ color: rgb(95, 72, 219);
/* oklch */ color: oklch(51.7% 0.213 283.2);
Tailwind
colors: {
  custom: {
    50: '#987de7',
    500: '#5f48db',
    950: '#000000',
  },
}
SCSS
$custom: #5f48db;
$custom-light: #987de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f48db",
  "rgb": {
    "r": 95,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 249.388,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51655,
    "c": 0.21296,
    "h": 283.2
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#5F48DB
secondary
#D4DDA2
accent
#EA3ECF
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5F48DB

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

Preview Lab → · Contrast checker → · Palette generator →

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