#5F66CD#5F66CD

#5F66CD is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.7% C 0.157 H 277.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#5F66CD
RGBrgb(95, 102, 205)
HSLhsl(236, 52%, 59%)
HSVhsv(236, 54%, 80%)
CMYKcmyk(53.7%, 50.2%, 0%, 19.6%)
CIE-LABlab(47.42, 26.43, -54.46)
CIE-LCHlch(47.42, 60.53, 295.88°)
OKLaboklab(55.7% 0.0194 -0.1554)
OKLCHoklch(55.7% 0.157 277.1)
XYZxyz(20.4866, 16.3421, 59.8206)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66CD #CDC65F
analogous
#5F9DCD #5F66CD #8F5FCD
triadic
#5F66CD #CD5F66 #66CD5F
tetradic
#5F66CD #CD5F9D #CDC65F #5FCD8F
square
#5F66CD #CD5F9D #CDC65F #5FCD8F
split-complementary
#5F66CD #CD8F5F #9DCD5F
monochromatic
#2A3087 #3941B6 #5F66CD #8E93DC #BCBFEA

Accessibility & contrast

On white

4.92
#5F66CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#5F66CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66CD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66CD#FFFFFF#000000##FFFFFF
##5F66CD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#236CCB
Tritanopia (blue-blind)
#2B7D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f66cd;
/* rgb */ color: rgb(95, 102, 205);
/* oklch */ color: oklch(55.7% 0.157 277.1);
Tailwind
colors: {
  custom: {
    50: '#9491dd',
    500: '#5f66cd',
    950: '#000000',
  },
}
SCSS
$custom: #5f66cd;
$custom-light: #9491dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66cd",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 236.182,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.15664,
    "h": 277.1
  },
  "luminance": 0.16343
}

Semantic roles & 50–950 ramp

primary
#5F66CD
secondary
#DAD7AE
accent
#D34CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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