#5975EF#5975EF

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

Color values

HEX#5975EF
RGBrgb(89, 117, 239)
HSLhsl(229, 82%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(62.8%, 51%, 0%, 6.3%)
CIE-LABlab(53.03, 27.25, -64.65)
CIE-LCHlch(53.03, 70.16, 292.86°)
OKLaboklab(60.53% 0.0009 -0.1854)
OKLCHoklch(60.53% 0.185 270.3)
XYZxyz(26.0558, 21.0761, 84.3396)
Luminance0.2108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975EF #EFD359
analogous
#59C0EF #5975EF #8859EF
triadic
#5975EF #EF5975 #75EF59
tetradic
#5975EF #EF59C0 #EFD359 #59EF88
square
#5975EF #EF59C0 #EFD359 #59EF88
split-complementary
#5975EF #EF8859 #C0EF59
monochromatic
#1232BC #2147EA #5975EF #91A3F4 #C9D2FA

Accessibility & contrast

On white

4.03
#5975EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#5975EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975EF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975EF#FFFFFF#000000##000000
##5975EF1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5975ef;
/* rgb */ color: rgb(89, 117, 239);
/* oklch */ color: oklch(60.5% 0.185 270.3);
Tailwind
colors: {
  custom: {
    50: '#969cf5',
    500: '#5975ef',
    950: '#000000',
  },
}
SCSS
$custom: #5975ef;
$custom-light: #969cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5975ef",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 228.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.18541,
    "h": 270.3
  },
  "luminance": 0.21078
}

Semantic roles & 50–950 ramp

primary
#5975EF
secondary
#ECE2B8
accent
#B607DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5975EF

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

Preview Lab → · Contrast checker → · Palette generator →

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