#5975F4#5975F4

#5975F4 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.9% C 0.192 H 270.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#5975F4
RGBrgb(89, 117, 244)
HSLhsl(229, 88%, 65%)
HSVhsv(229, 64%, 96%)
CMYKcmyk(63.5%, 52%, 0%, 4.3%)
CIE-LABlab(53.36, 28.93, -66.91)
CIE-LCHlch(53.36, 72.90, 293.38°)
OKLaboklab(60.88% 0.0013 -0.1921)
OKLCHoklch(60.88% 0.192 270.4)
XYZxyz(26.8047, 21.3757, 88.2838)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975F4 #F4D859
analogous
#59C3F4 #5975F4 #8A59F4
triadic
#5975F4 #F45975 #75F459
tetradic
#5975F4 #F459C3 #F4D859 #59F48A
square
#5975F4 #F459C3 #F4D859 #59F48A
split-complementary
#5975F4 #F48A59 #C3F459
monochromatic
#0D2EC6 #2045F0 #5975F4 #92A5F8 #CCD4FC

Accessibility & contrast

On white

3.98
#5975F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#5975F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975F4
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975F4#FFFFFF#000000##000000
##5975F41.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387F8
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#0093A9
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5975f4;
/* rgb */ color: rgb(89, 117, 244);
/* oklch */ color: oklch(60.9% 0.192 270.4);
Tailwind
colors: {
  custom: {
    50: '#979cf8',
    500: '#5975f4',
    950: '#000000',
  },
}
SCSS
$custom: #5975f4;
$custom-light: #979cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5975f4",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 244
  },
  "hsl": {
    "h": 229.161,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.19206,
    "h": 270.4
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#5975F4
secondary
#EFE5BA
accent
#BB01E4
background
#FAF9FF
surface
#F3F2FF
border
#CDCCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5975F4

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

Preview Lab → · Contrast checker → · Palette generator →

#5975F4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva