#5F66DD#5F66DD

#5F66DD is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.8% C 0.179 H 276.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5F66DD
RGBrgb(95, 102, 221)
HSLhsl(237, 65%, 62%)
HSVhsv(237, 57%, 87%)
CMYKcmyk(57%, 53.8%, 0%, 13.3%)
CIE-LABlab(48.45, 31.56, -61.91)
CIE-LCHlch(48.45, 69.49, 297.01°)
OKLaboklab(56.81% 0.0204 -0.1774)
OKLCHoklch(56.81% 0.179 276.6)
XYZxyz(22.5176, 17.1545, 70.5172)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66DD #DDD65F
analogous
#5FA5DD #5F66DD #975FDD
triadic
#5F66DD #DD5F66 #66DD5F
tetradic
#5F66DD #DD5FA5 #DDD65F #5FDD97
square
#5F66DD #DD5FA5 #DDD65F #5FDD97
split-complementary
#5F66DD #DD975F #A5DD5F
monochromatic
#2229A0 #2D36D2 #5F66DD #9196E8 #C4C7F2

Accessibility & contrast

On white

4.74
#5F66DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5F66DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66DD#FFFFFF#000000##FFFFFF
##5F66DD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1878E1
Deuteranopia (green-blind)
#006EDB
Tritanopia (blue-blind)
#0E8298
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f66dd;
/* rgb */ color: rgb(95, 102, 221);
/* oklch */ color: oklch(56.8% 0.179 276.6);
Tailwind
colors: {
  custom: {
    50: '#9791e8',
    500: '#5f66dd',
    950: '#000000',
  },
}
SCSS
$custom: #5f66dd;
$custom-light: #9791e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66dd",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 236.667,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56808,
    "c": 0.17853,
    "h": 276.6
  },
  "luminance": 0.17156
}

Semantic roles & 50–950 ramp

primary
#5F66DD
secondary
#E3E1B5
accent
#C319CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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