#5975E7#5975E7

#5975E7 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.0% C 0.175 H 270.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5975E7
RGBrgb(89, 117, 231)
HSLhsl(228, 75%, 63%)
HSVhsv(228, 61%, 91%)
CMYKcmyk(61.5%, 49.4%, 0%, 9.4%)
CIE-LABlab(52.52, 24.57, -61.00)
CIE-LCHlch(52.52, 65.76, 291.94°)
OKLaboklab(59.98% 0.0001 -0.1747)
OKLCHoklch(59.98% 0.175 270)
XYZxyz(24.9001, 20.6138, 78.2525)
Luminance0.2062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975E7 #E7CB59
analogous
#59BCE7 #5975E7 #8459E7
triadic
#5975E7 #E75975 #75E759
tetradic
#5975E7 #E759BC #E7CB59 #59E784
square
#5975E7 #E759BC #E7CB59 #59E784
split-complementary
#5975E7 #E78459 #BCE759
monochromatic
#1936AD #2449DF #5975E7 #8EA1EF #C4CEF6

Accessibility & contrast

On white

4.10
#5975E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#5975E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975E7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975E7#FFFFFF#000000##000000
##5975E71.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)
#3784EB
Deuteranopia (green-blind)
#1577E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5975e7;
/* rgb */ color: rgb(89, 117, 231);
/* oklch */ color: oklch(60.0% 0.175 270.0);
Tailwind
colors: {
  custom: {
    50: '#949cef',
    500: '#5975e7',
    950: '#000000',
  },
}
SCSS
$custom: #5975e7;
$custom-light: #949cef;
$custom-dark: #000000;
JSON
{
  "hex": "#5975e7",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 231
  },
  "hsl": {
    "h": 228.169,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59984,
    "c": 0.17467,
    "h": 270
  },
  "luminance": 0.20616
}

Semantic roles & 50–950 ramp

primary
#5975E7
secondary
#E8DDB4
accent
#AF0FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #5975E7

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

Preview Lab → · Contrast checker → · Palette generator →

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