#5974E9#5974E9

#5974E9 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.9% C 0.179 H 270.4°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#5974E9
RGBrgb(89, 116, 233)
HSLhsl(229, 77%, 63%)
HSVhsv(229, 62%, 91%)
CMYKcmyk(61.8%, 50.2%, 0%, 8.6%)
CIE-LABlab(52.39, 25.85, -62.33)
CIE-LCHlch(52.39, 67.48, 292.53°)
OKLaboklab(59.93% 0.0013 -0.1786)
OKLCHoklch(59.93% 0.179 270.4)
XYZxyz(25.0682, 20.4957, 79.7100)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974E9 #E9CE59
analogous
#59BCE9 #5974E9 #8659E9
triadic
#5974E9 #E95974 #74E959
tetradic
#5974E9 #E959BC #E9CE59 #59E986
square
#5974E9 #E959BC #E9CE59 #59E986
split-complementary
#5974E9 #E98659 #BCE959
monochromatic
#1734B0 #2347E2 #5974E9 #8FA1F0 #C5CEF7

Accessibility & contrast

On white

4.12
#5974E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#5974E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974E9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974E9#FFFFFF#000000##000000
##5974E91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#0477E7
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5974e9;
/* rgb */ color: rgb(89, 116, 233);
/* oklch */ color: oklch(59.9% 0.179 270.4);
Tailwind
colors: {
  custom: {
    50: '#959bf1',
    500: '#5974e9',
    950: '#000000',
  },
}
SCSS
$custom: #5974e9;
$custom-light: #959bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#5974e9",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 233
  },
  "hsl": {
    "h": 228.75,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59925,
    "c": 0.1786,
    "h": 270.4
  },
  "luminance": 0.20498
}

Semantic roles & 50–950 ramp

primary
#5974E9
secondary
#E9DFB5
accent
#B30DD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5974E9

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

Preview Lab → · Contrast checker → · Palette generator →

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