#5975E8#5975E8

#5975E8 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.1% C 0.176 H 270.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5975E8
RGBrgb(89, 117, 232)
HSLhsl(228, 76%, 63%)
HSVhsv(228, 62%, 91%)
CMYKcmyk(61.6%, 49.6%, 0%, 9%)
CIE-LABlab(52.59, 24.90, -61.46)
CIE-LCHlch(52.59, 66.31, 292.06°)
OKLaboklab(60.05% 0.0002 -0.176)
OKLCHoklch(60.05% 0.176 270.1)
XYZxyz(25.0417, 20.6705, 78.9984)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975E8 #E8CC59
analogous
#59BCE8 #5975E8 #8559E8
triadic
#5975E8 #E85975 #75E859
tetradic
#5975E8 #E859BC #E8CC59 #59E885
square
#5975E8 #E859BC #E8CC59 #59E885
split-complementary
#5975E8 #E88559 #BCE859
monochromatic
#1836AE #2348E1 #5975E8 #8FA2EF #C5CEF7

Accessibility & contrast

On white

4.09
#5975E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5975E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975E8
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975E8#FFFFFF#000000##000000
##5975E81.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#1277E6
Tritanopia (blue-blind)
#0090A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5975e8;
/* rgb */ color: rgb(89, 117, 232);
/* oklch */ color: oklch(60.1% 0.176 270.1);
Tailwind
colors: {
  custom: {
    50: '#959cf0',
    500: '#5975e8',
    950: '#000000',
  },
}
SCSS
$custom: #5975e8;
$custom-light: #959cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#5975e8",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 232
  },
  "hsl": {
    "h": 228.252,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60052,
    "c": 0.17602,
    "h": 270.1
  },
  "luminance": 0.20673
}

Semantic roles & 50–950 ramp

primary
#5975E8
secondary
#E8DEB5
accent
#B00ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5975E8

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

Preview Lab → · Contrast checker → · Palette generator →

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