#5975E3#5975E3

#5975E3 is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.169 H 269.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5975E3
RGBrgb(89, 117, 227)
HSLhsl(228, 71%, 62%)
HSVhsv(228, 61%, 89%)
CMYKcmyk(60.8%, 48.5%, 0%, 11%)
CIE-LABlab(52.28, 23.23, -59.16)
CIE-LCHlch(52.28, 63.55, 291.44°)
OKLaboklab(59.72% -0.0003 -0.1692)
OKLCHoklch(59.72% 0.169 269.9)
XYZxyz(24.3416, 20.3904, 75.3111)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975E3 #E3C759
analogous
#59BAE3 #5975E3 #8259E3
triadic
#5975E3 #E35975 #75E359
tetradic
#5975E3 #E359BA #E3C759 #59E382
square
#5975E3 #E359BA #E3C759 #59E382
split-complementary
#5975E3 #E38259 #BAE359
monochromatic
#1C38A6 #254ADA #5975E3 #8DA1EC #C2CCF5

Accessibility & contrast

On white

4.14
#5975E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5975E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975E3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975E3#FFFFFF#000000##000000
##5975E31.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E7
Deuteranopia (green-blind)
#2077E1
Tritanopia (blue-blind)
#008EA1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5975e3;
/* rgb */ color: rgb(89, 117, 227);
/* oklch */ color: oklch(59.7% 0.169 269.9);
Tailwind
colors: {
  custom: {
    50: '#949cec',
    500: '#5975e3',
    950: '#000000',
  },
}
SCSS
$custom: #5975e3;
$custom-light: #949cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5975e3",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 227
  },
  "hsl": {
    "h": 227.826,
    "s": 71.134,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59716,
    "c": 0.16924,
    "h": 269.9
  },
  "luminance": 0.20392
}

Semantic roles & 50–950 ramp

primary
#5975E3
secondary
#E5DBB2
accent
#AC12D3
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975E3

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

Preview Lab → · Contrast checker → · Palette generator →

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