#5974EB#5974EB

#5974EB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.181 H 270.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5974EB
RGBrgb(89, 116, 235)
HSLhsl(229, 78%, 64%)
HSVhsv(229, 62%, 92%)
CMYKcmyk(62.1%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.52, 26.52, -63.25)
CIE-LCHlch(52.52, 68.58, 292.75°)
OKLaboklab(60.06% 0.0015 -0.1813)
OKLCHoklch(60.06% 0.181 270.5)
XYZxyz(25.3556, 20.6106, 81.2232)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974EB #EBD059
analogous
#59BDEB #5974EB #8759EB
triadic
#5974EB #EB5974 #74EB59
tetradic
#5974EB #EB59BD #EBD059 #59EB87
square
#5974EB #EB59BD #EBD059 #59EB87
split-complementary
#5974EB #EB8759 #BDEB59
monochromatic
#1633B4 #2246E4 #5974EB #90A2F2 #C6CFF8

Accessibility & contrast

On white

4.10
#5974EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5974EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974EB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974EB#FFFFFF#000000##000000
##5974EB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#0090A4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5974eb;
/* rgb */ color: rgb(89, 116, 235);
/* oklch */ color: oklch(60.1% 0.181 270.5);
Tailwind
colors: {
  custom: {
    50: '#959bf2',
    500: '#5974eb',
    950: '#000000',
  },
}
SCSS
$custom: #5974eb;
$custom-light: #959bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5974eb",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 228.904,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60063,
    "c": 0.18129,
    "h": 270.5
  },
  "luminance": 0.20613
}

Semantic roles & 50–950 ramp

primary
#5974EB
secondary
#EAE0B6
accent
#B40BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5974EB

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

Preview Lab → · Contrast checker → · Palette generator →

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