#5F6FEE#5F6FEE

#5F6FEE is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.7% C 0.190 H 273.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5F6FEE
RGBrgb(95, 111, 238)
HSLhsl(233, 81%, 65%)
HSVhsv(233, 60%, 93%)
CMYKcmyk(60.1%, 53.4%, 0%, 6.7%)
CIE-LABlab(51.81, 31.60, -66.06)
CIE-LCHlch(51.81, 73.23, 295.57°)
OKLaboklab(59.68% 0.0125 -0.1895)
OKLCHoklch(59.68% 0.19 273.8)
XYZxyz(25.8313, 19.9728, 83.3662)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6FEE #EEDE5F
analogous
#5FB6EE #5F6FEE #975FEE
triadic
#5F6FEE #EE5F6F #6FEE5F
tetradic
#5F6FEE #EE5FB6 #EEDE5F #5FEE97
square
#5F6FEE #EE5FB6 #EEDE5F #5FEE97
split-complementary
#5F6FEE #EE975F #B6EE5F
monochromatic
#1427BE #283DE8 #5F6FEE #96A1F4 #CED3FA

Accessibility & contrast

On white

4.20
#5F6FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#5F6FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F6FEE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6FEE#FFFFFF#000000##000000
##5F6FEE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F2
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5f6fee;
/* rgb */ color: rgb(95, 111, 238);
/* oklch */ color: oklch(59.7% 0.190 273.8);
Tailwind
colors: {
  custom: {
    50: '#9998f4',
    500: '#5f6fee',
    950: '#000000',
  },
}
SCSS
$custom: #5f6fee;
$custom-light: #9998f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6fee",
  "rgb": {
    "r": 95,
    "g": 111,
    "b": 238
  },
  "hsl": {
    "h": 233.287,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59679,
    "c": 0.18989,
    "h": 273.8
  },
  "luminance": 0.19975
}

Semantic roles & 50–950 ramp

primary
#5F6FEE
secondary
#ECE7BC
accent
#C508DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5F6FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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