#5F66CF#5F66CF

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

Color values

HEX#5F66CF
RGBrgb(95, 102, 207)
HSLhsl(236, 54%, 59%)
HSVhsv(236, 54%, 81%)
CMYKcmyk(54.1%, 50.7%, 0%, 18.8%)
CIE-LABlab(47.55, 27.06, -55.40)
CIE-LCHlch(47.55, 61.66, 296.04°)
OKLaboklab(55.84% 0.0195 -0.1582)
OKLCHoklch(55.84% 0.159 277)
XYZxyz(20.7296, 16.4393, 61.1001)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66CF #CFC85F
analogous
#5F9ECF #5F66CF #905FCF
triadic
#5F66CF #CF5F66 #66CF5F
tetradic
#5F66CF #CF5F9E #CFC85F #5FCF90
square
#5F66CF #CF5F9E #CFC85F #5FCF90
split-complementary
#5F66CF #CF905F #9ECF5F
monochromatic
#292F8A #3840B9 #5F66CF #8E93DD #BDC0EB

Accessibility & contrast

On white

4.90
#5F66CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#5F66CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66CF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66CF#FFFFFF#000000##FFFFFF
##5F66CF1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3075D3
Deuteranopia (green-blind)
#206CCD
Tritanopia (blue-blind)
#297D91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #5f66cf;
/* rgb */ color: rgb(95, 102, 207);
/* oklch */ color: oklch(55.8% 0.159 277.0);
Tailwind
colors: {
  custom: {
    50: '#9591de',
    500: '#5f66cf',
    950: '#000000',
  },
}
SCSS
$custom: #5f66cf;
$custom-light: #9591de;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66cf",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 207
  },
  "hsl": {
    "h": 236.25,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55836,
    "c": 0.15942,
    "h": 277
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#5F66CF
secondary
#DBD8AF
accent
#D44BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #5F66CF

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

Preview Lab → · Contrast checker → · Palette generator →

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