#5F6FDE#5F6FDE

#5F6FDE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.6% C 0.168 H 273.9°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#5F6FDE
RGBrgb(95, 111, 222)
HSLhsl(232, 66%, 62%)
HSVhsv(232, 57%, 87%)
CMYKcmyk(57.2%, 50%, 0%, 12.9%)
CIE-LABlab(50.77, 26.38, -58.74)
CIE-LCHlch(50.77, 64.39, 294.18°)
OKLaboklab(58.57% 0.0114 -0.1679)
OKLCHoklch(58.57% 0.168 273.9)
XYZxyz(23.5843, 19.0739, 71.5319)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FDE #DECE5F
analogous
#5FAFDE #5F6FDE #8F5FDE
triadic
#5F6FDE #DE5F6F #6FDE5F
tetradic
#5F6FDE #DE5FAF #DECE5F #5FDE8F
square
#5F6FDE #DE5FAF #DECE5F #5FDE8F
split-complementary
#5F6FDE #DE8F5F #AFDE5F
monochromatic
#2131A1 #2C41D4 #5F6FDE #929DE8 #C4CAF3

Accessibility & contrast

On white

4.36
#5F6FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#5F6FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FDE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FDE#FFFFFF#000000##000000
##5F6FDE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#357FE2
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#03889C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5f6fde;
/* rgb */ color: rgb(95, 111, 222);
/* oklch */ color: oklch(58.6% 0.168 273.9);
Tailwind
colors: {
  custom: {
    50: '#9698e9',
    500: '#5f6fde',
    950: '#000000',
  },
}
SCSS
$custom: #5f6fde;
$custom-light: #9698e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6fde",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 222
  },
  "hsl": {
    "h": 232.441,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.16832,
    "h": 273.9
  },
  "luminance": 0.19076
}

Semantic roles & 50–950 ramp

primary
#5F6FDE
secondary
#E4DEB5
accent
#B718CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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