#5974F0#5974F0

#5974F0 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.4% C 0.188 H 270.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5974F0
RGBrgb(89, 116, 240)
HSLhsl(229, 83%, 65%)
HSVhsv(229, 63%, 94%)
CMYKcmyk(62.9%, 51.7%, 0%, 5.9%)
CIE-LABlab(52.84, 28.20, -65.52)
CIE-LCHlch(52.84, 71.33, 293.29°)
OKLaboklab(60.41% 0.0019 -0.188)
OKLCHoklch(60.41% 0.188 270.6)
XYZxyz(26.0881, 20.9036, 85.0812)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5974F0 #F0D559
analogous
#59BFF0 #5974F0 #8A59F0
triadic
#5974F0 #F05974 #74F059
tetradic
#5974F0 #F059BF #F0D559 #59F08A
square
#5974F0 #F059BF #F0D559 #59F08A
split-complementary
#5974F0 #F08A59 #BFF059
monochromatic
#1130BD #2145EB #5974F0 #91A3F5 #C9D2FA

Accessibility & contrast

On white

4.05
#5974F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5974F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5974F0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5974F0#FFFFFF#000000##000000
##5974F01.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#0091A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5974f0;
/* rgb */ color: rgb(89, 116, 240);
/* oklch */ color: oklch(60.4% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#969bf6',
    500: '#5974f0',
    950: '#000000',
  },
}
SCSS
$custom: #5974f0;
$custom-light: #969bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5974f0",
  "rgb": {
    "r": 89,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 229.272,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6041,
    "c": 0.18797,
    "h": 270.6
  },
  "luminance": 0.20906
}

Semantic roles & 50–950 ramp

primary
#5974F0
secondary
#ECE3B8
accent
#B906E0
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5974F0

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

Preview Lab → · Contrast checker → · Palette generator →

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