#5974E2#5974E2

#5974E2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.169 H 270.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5974E2
RGBrgb(89, 116, 226)
HSLhsl(228, 70%, 62%)
HSVhsv(228, 61%, 89%)
CMYKcmyk(60.6%, 48.7%, 0%, 11.4%)
CIE-LABlab(51.95, 23.51, -59.11)
CIE-LCHlch(51.95, 63.62, 291.69°)
OKLaboklab(59.45% 0.0006 -0.1691)
OKLCHoklch(59.45% 0.169 270.2)
XYZxyz(24.0881, 20.1036, 74.5478)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974E2 #E2C759
analogous
#59B9E2 #5974E2 #8359E2
triadic
#5974E2 #E25974 #74E259
tetradic
#5974E2 #E259B9 #E2C759 #59E283
square
#5974E2 #E259B9 #E2C759 #59E283
split-complementary
#5974E2 #E28359 #B9E259
monochromatic
#1D37A4 #2649D8 #5974E2 #8DA0EB #C1CBF4

Accessibility & contrast

On white

4.18
#5974E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5974E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974E2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974E2#FFFFFF#000000##000000
##5974E21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B82E6
Deuteranopia (green-blind)
#1F76E0
Tritanopia (blue-blind)
#008DA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5974e2;
/* rgb */ color: rgb(89, 116, 226);
/* oklch */ color: oklch(59.5% 0.169 270.2);
Tailwind
colors: {
  custom: {
    50: '#949bec',
    500: '#5974e2',
    950: '#000000',
  },
}
SCSS
$custom: #5974e2;
$custom-light: #949bec;
$custom-dark: #000000;
JSON
{
  "hex": "#5974e2",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 228.175,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.16912,
    "h": 270.2
  },
  "luminance": 0.20106
}

Semantic roles & 50–950 ramp

primary
#5974E2
secondary
#E5DBB2
accent
#AD13D2
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5974E2

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

Preview Lab → · Contrast checker → · Palette generator →

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