#5F66CC#5F66CC

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

Color values

HEX#5F66CC
RGBrgb(95, 102, 204)
HSLhsl(236, 52%, 59%)
HSVhsv(236, 53%, 80%)
CMYKcmyk(53.4%, 50%, 0%, 20%)
CIE-LABlab(47.36, 26.11, -53.99)
CIE-LCHlch(47.36, 59.97, 295.81°)
OKLaboklab(55.63% 0.0193 -0.154)
OKLCHoklch(55.63% 0.155 277.1)
XYZxyz(20.3663, 16.2940, 59.1869)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66CC #CCC55F
analogous
#5F9CCC #5F66CC #8E5FCC
triadic
#5F66CC #CC5F66 #66CC5F
tetradic
#5F66CC #CC5F9C #CCC55F #5FCC8E
square
#5F66CC #CC5F9C #CCC55F #5FCC8E
split-complementary
#5F66CC #CC8E5F #9CCC5F
monochromatic
#2B3186 #3941B4 #5F66CC #8D92DB #BCBFEA

Accessibility & contrast

On white

4.93
#5F66CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#5F66CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66CC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66CC#FFFFFF#000000##FFFFFF
##5F66CC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#256CCA
Tritanopia (blue-blind)
#2C7D8F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5f66cc;
/* rgb */ color: rgb(95, 102, 204);
/* oklch */ color: oklch(55.6% 0.155 277.1);
Tailwind
colors: {
  custom: {
    50: '#9491dc',
    500: '#5f66cc',
    950: '#000000',
  },
}
SCSS
$custom: #5f66cc;
$custom-light: #9491dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66cc",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 236.147,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.55634,
    "c": 0.15525,
    "h": 277.1
  },
  "luminance": 0.16295
}

Semantic roles & 50–950 ramp

primary
#5F66CC
secondary
#D9D6AE
accent
#D24DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F66CC

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

Preview Lab → · Contrast checker → · Palette generator →

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