#5F66DF#5F66DF

#5F66DF is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.0% C 0.181 H 276.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#5F66DF
RGBrgb(95, 102, 223)
HSLhsl(237, 67%, 62%)
HSVhsv(237, 57%, 87%)
CMYKcmyk(57.4%, 54.3%, 0%, 12.5%)
CIE-LABlab(48.59, 32.21, -62.83)
CIE-LCHlch(48.59, 70.60, 297.14°)
OKLaboklab(56.95% 0.0205 -0.1801)
OKLCHoklch(56.95% 0.181 276.5)
XYZxyz(22.7857, 17.2617, 71.9289)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66DF #DFD85F
analogous
#5FA6DF #5F66DF #985FDF
triadic
#5F66DF #DF5F66 #66DF5F
tetradic
#5F66DF #DF5FA6 #DFD85F #5FDF98
square
#5F66DF #DF5FA6 #DFD85F #5FDF98
split-complementary
#5F66DF #DF985F #A6DF5F
monochromatic
#2128A3 #2C35D5 #5F66DF #9297E9 #C5C8F3

Accessibility & contrast

On white

4.72
#5F66DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5F66DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66DF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66DF#FFFFFF#000000##FFFFFF
##5F66DF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1279E3
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#058299
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f66df;
/* rgb */ color: rgb(95, 102, 223);
/* oklch */ color: oklch(57.0% 0.181 276.5);
Tailwind
colors: {
  custom: {
    50: '#9791ea',
    500: '#5f66df',
    950: '#000000',
  },
}
SCSS
$custom: #5f66df;
$custom-light: #9791ea;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66df",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 236.719,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56951,
    "c": 0.18122,
    "h": 276.5
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#5F66DF
secondary
#E4E2B6
accent
#C517CF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #5F66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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