#5F6DEE#5F6DEE

#5F6DEE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.3% C 0.192 H 274.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F6DEE
RGBrgb(95, 109, 238)
HSLhsl(234, 81%, 65%)
HSVhsv(234, 60%, 93%)
CMYKcmyk(60.1%, 54.2%, 0%, 6.7%)
CIE-LABlab(51.31, 32.82, -66.86)
CIE-LCHlch(51.31, 74.48, 296.15°)
OKLaboklab(59.31% 0.0144 -0.1918)
OKLCHoklch(59.31% 0.192 274.3)
XYZxyz(25.6155, 19.5412, 83.2943)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6DEE #EEE05F
analogous
#5FB4EE #5F6DEE #985FEE
triadic
#5F6DEE #EE5F6D #6DEE5F
tetradic
#5F6DEE #EE5FB4 #EEE05F #5FEE98
square
#5F6DEE #EE5FB4 #EEE05F #5FEE98
split-complementary
#5F6DEE #EE985F #B4EE5F
monochromatic
#1425BE #283BE8 #5F6DEE #969FF4 #CED2FA

Accessibility & contrast

On white

4.28
#5F6DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#5F6DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6DEE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6DEE#FFFFFF#000000##000000
##5F6DEE1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F2
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008BA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5f6dee;
/* rgb */ color: rgb(95, 109, 238);
/* oklch */ color: oklch(59.3% 0.192 274.3);
Tailwind
colors: {
  custom: {
    50: '#9996f4',
    500: '#5f6dee',
    950: '#000000',
  },
}
SCSS
$custom: #5f6dee;
$custom-light: #9996f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6dee",
  "rgb": {
    "r": 95,
    "g": 109,
    "b": 238
  },
  "hsl": {
    "h": 234.126,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.5931,
    "c": 0.19238,
    "h": 274.3
  },
  "luminance": 0.19543
}

Semantic roles & 50–950 ramp

primary
#5F6DEE
secondary
#ECE8BC
accent
#C808DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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