#5974EF#5974EF

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

Color values

HEX#5974EF
RGBrgb(89, 116, 239)
HSLhsl(229, 82%, 64%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(62.8%, 51.5%, 0%, 6.3%)
CIE-LABlab(52.78, 27.86, -65.06)
CIE-LCHlch(52.78, 70.78, 293.18°)
OKLaboklab(60.34% 0.0018 -0.1866)
OKLCHoklch(60.34% 0.187 270.6)
XYZxyz(25.9400, 20.8444, 84.3010)
Luminance0.2085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974EF #EFD459
analogous
#59BFEF #5974EF #8959EF
triadic
#5974EF #EF5974 #74EF59
tetradic
#5974EF #EF59BF #EFD459 #59EF89
square
#5974EF #EF59BF #EFD459 #59EF89
split-complementary
#5974EF #EF8959 #BFEF59
monochromatic
#1231BC #2145EA #5974EF #91A3F4 #C9D1FA

Accessibility & contrast

On white

4.06
#5974EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5974EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974EF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974EF#FFFFFF#000000##000000
##5974EF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5974ef;
/* rgb */ color: rgb(89, 116, 239);
/* oklch */ color: oklch(60.3% 0.187 270.6);
Tailwind
colors: {
  custom: {
    50: '#969bf5',
    500: '#5974ef',
    950: '#000000',
  },
}
SCSS
$custom: #5974ef;
$custom-light: #969bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#5974ef",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 229.2,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6034,
    "c": 0.18664,
    "h": 270.6
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#5974EF
secondary
#ECE3B8
accent
#B807DF
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5974EF

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

Preview Lab → · Contrast checker → · Palette generator →

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