#5975EE#5975EE

#5975EE is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.184 H 270.3°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5975EE
RGBrgb(89, 117, 238)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(62.6%, 50.8%, 0%, 6.7%)
CIE-LABlab(52.97, 26.92, -64.20)
CIE-LCHlch(52.97, 69.61, 292.75°)
OKLaboklab(60.46% 0.0008 -0.1841)
OKLCHoklch(60.46% 0.184 270.3)
XYZxyz(25.9085, 21.0172, 83.5637)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975EE #EED259
analogous
#59C0EE #5975EE #8859EE
triadic
#5975EE #EE5975 #75EE59
tetradic
#5975EE #EE59C0 #EED259 #59EE88
square
#5975EE #EE59C0 #EED259 #59EE88
split-complementary
#5975EE #EE8859 #C0EE59
monochromatic
#1332BA #2147E8 #5975EE #91A3F4 #C8D1F9

Accessibility & contrast

On white

4.04
#5975EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5975EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975EE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975EE#FFFFFF#000000##000000
##5975EE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E85F2
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0091A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5975ee;
/* rgb */ color: rgb(89, 117, 238);
/* oklch */ color: oklch(60.5% 0.184 270.3);
Tailwind
colors: {
  custom: {
    50: '#969cf4',
    500: '#5975ee',
    950: '#000000',
  },
}
SCSS
$custom: #5975ee;
$custom-light: #969cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5975ee",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 238
  },
  "hsl": {
    "h": 228.725,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60463,
    "c": 0.18408,
    "h": 270.3
  },
  "luminance": 0.21019
}

Semantic roles & 50–950 ramp

primary
#5975EE
secondary
#EBE2B7
accent
#B608DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5975EE

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

Preview Lab → · Contrast checker → · Palette generator →

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