#5975DB#5975DB

#5975DB is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.2% C 0.158 H 269.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#5975DB
RGBrgb(89, 117, 219)
HSLhsl(227, 64%, 60%)
HSVhsv(227, 59%, 86%)
CMYKcmyk(59.4%, 46.6%, 0%, 14.1%)
CIE-LABlab(51.79, 20.56, -55.43)
CIE-LCHlch(51.79, 59.12, 290.35°)
OKLaboklab(59.19% -0.0013 -0.1583)
OKLCHoklch(59.19% 0.158 269.5)
XYZxyz(23.2630, 19.9590, 69.6307)
Luminance0.1996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975DB #DBBF59
analogous
#59B6DB #5975DB #7E59DB
triadic
#5975DB #DB5975 #75DB59
tetradic
#5975DB #DB59B6 #DBBF59 #59DB7E
square
#5975DB #DB59B6 #DBBF59 #59DB7E
split-complementary
#5975DB #DB7E59 #B6DB59
monochromatic
#213B99 #2C4ECB #5975DB #8B9FE6 #BEC9F1

Accessibility & contrast

On white

4.21
#5975DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#5975DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975DB#FFFFFF#000000##000000
##5975DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482DF
Deuteranopia (green-blind)
#2F76D9
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #5975db;
/* rgb */ color: rgb(89, 117, 219);
/* oklch */ color: oklch(59.2% 0.158 269.5);
Tailwind
colors: {
  custom: {
    50: '#929ce7',
    500: '#5975db',
    950: '#000000',
  },
}
SCSS
$custom: #5975db;
$custom-light: #929ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5975db",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 219
  },
  "hsl": {
    "h": 227.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.59191,
    "c": 0.15829,
    "h": 269.5
  },
  "luminance": 0.19961
}

Semantic roles & 50–950 ramp

primary
#5975DB
secondary
#E1D6AF
accent
#A619CC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975DB

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

Preview Lab → · Contrast checker → · Palette generator →

#5975DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva