#5F55DB#5F55DB

#5F55DB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.7% C 0.197 H 280.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#5F55DB
RGBrgb(95, 85, 219)
HSLhsl(244, 65%, 60%)
HSVhsv(244, 61%, 86%)
CMYKcmyk(56.6%, 61.2%, 0%, 14.1%)
CIE-LABlab(44.29, 41.18, -67.52)
CIE-LCHlch(44.29, 79.08, 301.38°)
OKLaboklab(53.68% 0.0369 -0.194)
OKLCHoklch(53.68% 0.197 280.8)
XYZxyz(20.7500, 14.0430, 68.6212)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F55DB #D1DB55
analogous
#558EDB #5F55DB #A255DB
triadic
#5F55DB #DB5F55 #55DB5F
tetradic
#5F55DB #DB558E #D1DB55 #55DBA2
square
#5F55DB #DB558E #D1DB55 #55DBA2
split-complementary
#5F55DB #DBA255 #8EDB55
monochromatic
#292096 #362AC8 #5F55DB #8F88E6 #BEBAF0

Accessibility & contrast

On white

5.51
#5F55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#5F55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F55DB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F55DB#FFFFFF#000000##FFFFFF
##5F55DB1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#1A7690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f55db;
/* rgb */ color: rgb(95, 85, 219);
/* oklch */ color: oklch(53.7% 0.197 280.8);
Tailwind
colors: {
  custom: {
    50: '#9785e7',
    500: '#5f55db',
    950: '#000000',
  },
}
SCSS
$custom: #5f55db;
$custom-light: #9785e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f55db",
  "rgb": {
    "r": 95,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 244.478,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.19745,
    "h": 280.8
  },
  "luminance": 0.14044
}

Semantic roles & 50–950 ramp

primary
#5F55DB
secondary
#DCE0AC
accent
#E840DB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #5F55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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