#5975DF#5975DF

#5975DF is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.5% C 0.164 H 269.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5975DF
RGBrgb(89, 117, 223)
HSLhsl(227, 68%, 61%)
HSVhsv(227, 60%, 87%)
CMYKcmyk(60.1%, 47.5%, 0%, 12.5%)
CIE-LABlab(52.03, 21.89, -57.30)
CIE-LCHlch(52.03, 61.34, 290.91°)
OKLaboklab(59.45% -0.0008 -0.1638)
OKLCHoklch(59.45% 0.164 269.7)
XYZxyz(23.7959, 20.1722, 72.4374)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975DF #DFC359
analogous
#59B8DF #5975DF #8059DF
triadic
#5975DF #DF5975 #75DF59
tetradic
#5975DF #DF59B8 #DFC359 #59DF80
square
#5975DF #DF59B8 #DFC359 #59DF80
split-complementary
#5975DF #DF8059 #B8DF59
monochromatic
#1F399F #294CD2 #5975DF #8CA0E9 #C0CAF3

Accessibility & contrast

On white

4.17
#5975DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5975DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975DF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975DF#FFFFFF#000000##000000
##5975DF1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4082E3
Deuteranopia (green-blind)
#2876DD
Tritanopia (blue-blind)
#008D9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5975df;
/* rgb */ color: rgb(89, 117, 223);
/* oklch */ color: oklch(59.5% 0.164 269.7);
Tailwind
colors: {
  custom: {
    50: '#939cea',
    500: '#5975df',
    950: '#000000',
  },
}
SCSS
$custom: #5975df;
$custom-light: #939cea;
$custom-dark: #000000;
JSON
{
  "hex": "#5975df",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 227.463,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.16378,
    "h": 269.7
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#5975DF
secondary
#E3D9B1
accent
#A916D0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975DF

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

Preview Lab → · Contrast checker → · Palette generator →

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