#5975EA#5975EA

#5975EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.2% C 0.179 H 270.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5975EA
RGBrgb(89, 117, 234)
HSLhsl(228, 78%, 63%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62%, 50%, 0%, 8.2%)
CIE-LABlab(52.71, 25.57, -62.38)
CIE-LCHlch(52.71, 67.42, 292.29°)
OKLaboklab(60.19% 0.0004 -0.1787)
OKLCHoklch(60.19% 0.179 270.1)
XYZxyz(25.3274, 20.7848, 80.5031)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975EA #EACE59
analogous
#59BDEA #5975EA #8559EA
triadic
#5975EA #EA5975 #75EA59
tetradic
#5975EA #EA59BD #EACE59 #59EA85
square
#5975EA #EA59BD #EACE59 #59EA85
split-complementary
#5975EA #EA8559 #BDEA59
monochromatic
#1735B2 #2348E3 #5975EA #8FA2F1 #C6CFF8

Accessibility & contrast

On white

4.07
#5975EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5975EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975EA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975EA#FFFFFF#000000##000000
##5975EA1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EE
Deuteranopia (green-blind)
#0778E8
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5975ea;
/* rgb */ color: rgb(89, 117, 234);
/* oklch */ color: oklch(60.2% 0.179 270.1);
Tailwind
colors: {
  custom: {
    50: '#959cf1',
    500: '#5975ea',
    950: '#000000',
  },
}
SCSS
$custom: #5975ea;
$custom-light: #959cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5975ea",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 234
  },
  "hsl": {
    "h": 228.414,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60188,
    "c": 0.17871,
    "h": 270.1
  },
  "luminance": 0.20787
}

Semantic roles & 50–950 ramp

primary
#5975EA
secondary
#E9DFB6
accent
#B20CDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5975EA

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

Preview Lab → · Contrast checker → · Palette generator →

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