#5975E4#5975E4

#5975E4 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.8% C 0.171 H 269.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5975E4
RGBrgb(89, 117, 228)
HSLhsl(228, 72%, 62%)
HSVhsv(228, 61%, 89%)
CMYKcmyk(61%, 48.7%, 0%, 10.6%)
CIE-LABlab(52.34, 23.56, -59.62)
CIE-LCHlch(52.34, 64.11, 291.57°)
OKLaboklab(59.78% -0.0002 -0.1706)
OKLCHoklch(59.78% 0.171 269.9)
XYZxyz(24.4800, 20.4458, 76.0401)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975E4 #E4C859
analogous
#59BAE4 #5975E4 #8359E4
triadic
#5975E4 #E45975 #75E459
tetradic
#5975E4 #E459BA #E4C859 #59E483
square
#5975E4 #E459BA #E4C859 #59E483
split-complementary
#5975E4 #E48359 #BAE459
monochromatic
#1B37A7 #2449DB #5975E4 #8EA1ED #C2CDF5

Accessibility & contrast

On white

4.13
#5975E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5975E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975E4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975E4#FFFFFF#000000##000000
##5975E41.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B83E8
Deuteranopia (green-blind)
#1E77E2
Tritanopia (blue-blind)
#008EA2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5975e4;
/* rgb */ color: rgb(89, 117, 228);
/* oklch */ color: oklch(59.8% 0.171 269.9);
Tailwind
colors: {
  custom: {
    50: '#949ced',
    500: '#5975e4',
    950: '#000000',
  },
}
SCSS
$custom: #5975e4;
$custom-light: #949ced;
$custom-dark: #000000;
JSON
{
  "hex": "#5975e4",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 227.914,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59783,
    "c": 0.1706,
    "h": 269.9
  },
  "luminance": 0.20448
}

Semantic roles & 50–950 ramp

primary
#5975E4
secondary
#E6DCB3
accent
#AD11D4
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975E4

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

Preview Lab → · Contrast checker → · Palette generator →

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