#5974EE#5974EE

#5974EE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.185 H 270.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5974EE
RGBrgb(89, 116, 238)
HSLhsl(229, 81%, 64%)
HSVhsv(229, 63%, 93%)
CMYKcmyk(62.6%, 51.3%, 0%, 6.7%)
CIE-LABlab(52.71, 27.53, -64.61)
CIE-LCHlch(52.71, 70.23, 293.08°)
OKLaboklab(60.27% 0.0017 -0.1853)
OKLCHoklch(60.27% 0.185 270.5)
XYZxyz(25.7926, 20.7854, 83.5251)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974EE #EED359
analogous
#59BEEE #5974EE #8959EE
triadic
#5974EE #EE5974 #74EE59
tetradic
#5974EE #EE59BE #EED359 #59EE89
square
#5974EE #EE59BE #EED359 #59EE89
split-complementary
#5974EE #EE8959 #BEEE59
monochromatic
#1331BA #2146E8 #5974EE #91A2F4 #C8D1F9

Accessibility & contrast

On white

4.07
#5974EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5974EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974EE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974EE#FFFFFF#000000##000000
##5974EE1.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)
#2B85F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5974ee;
/* rgb */ color: rgb(89, 116, 238);
/* oklch */ color: oklch(60.3% 0.185 270.5);
Tailwind
colors: {
  custom: {
    50: '#969bf4',
    500: '#5974ee',
    950: '#000000',
  },
}
SCSS
$custom: #5974ee;
$custom-light: #969bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#5974ee",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 229.128,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6027,
    "c": 0.18531,
    "h": 270.5
  },
  "luminance": 0.20788
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5974EE

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

Preview Lab → · Contrast checker → · Palette generator →

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