#5F66CE#5F66CE

#5F66CE is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.158 H 277.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#5F66CE
RGBrgb(95, 102, 206)
HSLhsl(236, 53%, 59%)
HSVhsv(236, 54%, 81%)
CMYKcmyk(53.9%, 50.5%, 0%, 19.2%)
CIE-LABlab(47.48, 26.74, -54.93)
CIE-LCHlch(47.48, 61.10, 295.96°)
OKLaboklab(55.77% 0.0195 -0.1568)
OKLCHoklch(55.77% 0.158 277.1)
XYZxyz(20.6077, 16.3905, 60.4583)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66CE #CEC75F
analogous
#5F9ECE #5F66CE #905FCE
triadic
#5F66CE #CE5F66 #66CE5F
tetradic
#5F66CE #CE5F9E #CEC75F #5FCE90
square
#5F66CE #CE5F9E #CEC75F #5FCE90
split-complementary
#5F66CE #CE905F #9ECE5F
monochromatic
#2A3089 #3840B8 #5F66CE #8E93DC #BDC0EB

Accessibility & contrast

On white

4.91
#5F66CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#5F66CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66CE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66CE#FFFFFF#000000##FFFFFF
##5F66CE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3175D2
Deuteranopia (green-blind)
#226CCC
Tritanopia (blue-blind)
#2A7D90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f66ce;
/* rgb */ color: rgb(95, 102, 206);
/* oklch */ color: oklch(55.8% 0.158 277.1);
Tailwind
colors: {
  custom: {
    50: '#9491de',
    500: '#5f66ce',
    950: '#000000',
  },
}
SCSS
$custom: #5f66ce;
$custom-light: #9491de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66ce",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 236.216,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.15803,
    "h": 277.1
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#5F66CE
secondary
#DAD7AF
accent
#D34BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F66CE

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

Preview Lab → · Contrast checker → · Palette generator →

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