#5F6DDD#5F6DDD

#5F6DDD is a mid, vivid blue. Relative luminance 0.186; OKLCH L 58.1% C 0.170 H 274.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F6DDD
RGBrgb(95, 109, 221)
HSLhsl(233, 65%, 62%)
HSVhsv(233, 57%, 87%)
CMYKcmyk(57%, 50.7%, 0%, 13.3%)
CIE-LABlab(50.20, 27.28, -59.09)
CIE-LCHlch(50.20, 65.08, 294.78°)
OKLaboklab(58.12% 0.0133 -0.169)
OKLCHoklch(58.12% 0.17 274.5)
XYZxyz(23.2349, 18.5889, 70.7562)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DDD #DDCF5F
analogous
#5FACDD #5F6DDD #905FDD
triadic
#5F6DDD #DD5F6D #6DDD5F
tetradic
#5F6DDD #DD5FAC #DDCF5F #5FDD90
square
#5F6DDD #DD5FAC #DDCF5F #5FDD90
split-complementary
#5F6DDD #DD905F #ACDD5F
monochromatic
#2230A0 #2D3FD2 #5F6DDD #919BE8 #C4C9F2

Accessibility & contrast

On white

4.45
#5F6DDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#5F6DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DDD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DDD#FFFFFF#000000##000000
##5F6DDD1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE1
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#09869B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5f6ddd;
/* rgb */ color: rgb(95, 109, 221);
/* oklch */ color: oklch(58.1% 0.170 274.5);
Tailwind
colors: {
  custom: {
    50: '#9696e8',
    500: '#5f6ddd',
    950: '#000000',
  },
}
SCSS
$custom: #5f6ddd;
$custom-light: #9696e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6ddd",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 221
  },
  "hsl": {
    "h": 233.333,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.16952,
    "h": 274.5
  },
  "luminance": 0.18591
}

Semantic roles & 50–950 ramp

primary
#5F6DDD
secondary
#E3DEB5
accent
#B919CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #5F6DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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