#5F66DB#5F66DB

#5F66DB is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.7% C 0.176 H 276.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#5F66DB
RGBrgb(95, 102, 219)
HSLhsl(237, 63%, 62%)
HSVhsv(237, 57%, 86%)
CMYKcmyk(56.6%, 53.4%, 0%, 14.1%)
CIE-LABlab(48.32, 30.92, -60.99)
CIE-LCHlch(48.32, 68.38, 296.88°)
OKLaboklab(56.67% 0.0203 -0.1747)
OKLCHoklch(56.67% 0.176 276.6)
XYZxyz(22.2528, 17.0485, 69.1222)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F66DB #DBD45F
analogous
#5FA4DB #5F66DB #965FDB
triadic
#5F66DB #DB5F66 #66DB5F
tetradic
#5F66DB #DB5FA4 #DBD45F #5FDB96
square
#5F66DB #DB5FA4 #DBD45F #5FDB96
split-complementary
#5F66DB #DB965F #A4DB5F
monochromatic
#232A9C #2E37CE #5F66DB #9196E6 #C3C6F1

Accessibility & contrast

On white

4.76
#5F66DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#5F66DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F66DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F66DB#FFFFFF#000000##FFFFFF
##5F66DB1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D78DF
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#148197
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5f66db;
/* rgb */ color: rgb(95, 102, 219);
/* oklch */ color: oklch(56.7% 0.176 276.6);
Tailwind
colors: {
  custom: {
    50: '#9691e7',
    500: '#5f66db',
    950: '#000000',
  },
}
SCSS
$custom: #5f66db;
$custom-light: #9691e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f66db",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 236.613,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56666,
    "c": 0.17584,
    "h": 276.6
  },
  "luminance": 0.1705
}

Semantic roles & 50–950 ramp

primary
#5F66DB
secondary
#E2DFB4
accent
#C11ACB
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #5F66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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