#5975EB#5975EB

#5975EB is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.3% C 0.180 H 270.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5975EB
RGBrgb(89, 117, 235)
HSLhsl(228, 78%, 64%)
HSVhsv(228, 62%, 92%)
CMYKcmyk(62.1%, 50.2%, 0%, 7.8%)
CIE-LABlab(52.78, 25.91, -62.83)
CIE-LCHlch(52.78, 67.97, 292.41°)
OKLaboklab(60.26% 0.0005 -0.1801)
OKLCHoklch(60.26% 0.18 270.2)
XYZxyz(25.4715, 20.8424, 81.2618)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975EB #EBCF59
analogous
#59BEEB #5975EB #8659EB
triadic
#5975EB #EB5975 #75EB59
tetradic
#5975EB #EB59BE #EBCF59 #59EB86
square
#5975EB #EB59BE #EBCF59 #59EB86
split-complementary
#5975EB #EB8659 #BEEB59
monochromatic
#1634B4 #2248E4 #5975EB #90A2F2 #C6D0F8

Accessibility & contrast

On white

4.06
#5975EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5975EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975EB#FFFFFF#000000##000000
##5975EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#0178E9
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5975eb;
/* rgb */ color: rgb(89, 117, 235);
/* oklch */ color: oklch(60.3% 0.180 270.2);
Tailwind
colors: {
  custom: {
    50: '#959cf2',
    500: '#5975eb',
    950: '#000000',
  },
}
SCSS
$custom: #5975eb;
$custom-light: #959cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5975eb",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 235
  },
  "hsl": {
    "h": 228.493,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.18006,
    "h": 270.2
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#5975EB
secondary
#EAE0B6
accent
#B30BDB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #5975EB

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

Preview Lab → · Contrast checker → · Palette generator →

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