#5F76DB#5F76DB

#5F76DB is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.155 H 271.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5F76DB
RGBrgb(95, 118, 219)
HSLhsl(229, 63%, 62%)
HSVhsv(229, 57%, 86%)
CMYKcmyk(56.6%, 46.1%, 0%, 14.1%)
CIE-LABlab(52.40, 21.11, -54.43)
CIE-LCHlch(52.40, 58.38, 291.20°)
OKLaboklab(59.75% 0.0037 -0.1552)
OKLCHoklch(59.75% 0.155 271.4)
XYZxyz(23.9797, 20.5024, 69.6978)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F76DB #DBC45F
analogous
#5FB4DB #5F76DB #865FDB
triadic
#5F76DB #DB5F76 #76DB5F
tetradic
#5F76DB #DB5FB4 #DBC45F #5FDB86
square
#5F76DB #DB5FB4 #DBC45F #5FDB86
split-complementary
#5F76DB #DB865F #B4DB5F
monochromatic
#233A9C #2E4CCE #5F76DB #91A1E6 #C3CCF1

Accessibility & contrast

On white

4.12
#5F76DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5F76DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F76DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F76DB#FFFFFF#000000##000000
##5F76DB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#0A8C9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f76db;
/* rgb */ color: rgb(95, 118, 219);
/* oklch */ color: oklch(59.7% 0.155 271.4);
Tailwind
colors: {
  custom: {
    50: '#969de7',
    500: '#5f76db',
    950: '#000000',
  },
}
SCSS
$custom: #5f76db;
$custom-light: #969de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f76db",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 219
  },
  "hsl": {
    "h": 228.871,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.15525,
    "h": 271.4
  },
  "luminance": 0.20504
}

Semantic roles & 50–950 ramp

primary
#5F76DB
secondary
#E2D9B4
accent
#AA1ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5F76DB

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

Preview Lab → · Contrast checker → · Palette generator →

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