#5F66EC#5F66EC

#5F66EC is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.9% C 0.198 H 276.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#5F66EC
RGBrgb(95, 102, 236)
HSLhsl(237, 79%, 65%)
HSVhsv(237, 60%, 93%)
CMYKcmyk(59.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(49.48, 36.41, -68.70)
CIE-LCHlch(49.48, 77.75, 297.92°)
OKLaboklab(57.9% 0.0208 -0.1973)
OKLCHoklch(57.9% 0.198 276)
XYZxyz(24.6061, 17.9899, 81.5163)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66EC #ECE55F
analogous
#5FADEC #5F66EC #9E5FEC
triadic
#5F66EC #EC5F66 #66EC5F
tetradic
#5F66EC #EC5FAD #ECE55F #5FEC9E
square
#5F66EC #EC5FAD #ECE55F #5FEC9E
split-complementary
#5F66EC #EC9E5F #ADEC5F
monochromatic
#161EBA #2832E6 #5F66EC #969AF2 #CCCFF9

Accessibility & contrast

On white

4.57
#5F66EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#5F66EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F66EC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66EC#FFFFFF#000000##000000
##5F66EC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0070E9
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f66ec;
/* rgb */ color: rgb(95, 102, 236);
/* oklch */ color: oklch(57.9% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#9991f3',
    500: '#5f66ec',
    950: '#000000',
  },
}
SCSS
$custom: #5f66ec;
$custom-light: #9991f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66ec",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 237.021,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57902,
    "c": 0.19843,
    "h": 276
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#5F66EC
secondary
#EBE9BB
accent
#D10ADB
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #5F66EC

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

Preview Lab → · Contrast checker → · Palette generator →

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