#5975F2#5975F2

#5975F2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.7% C 0.189 H 270.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5975F2
RGBrgb(89, 117, 242)
HSLhsl(229, 85%, 65%)
HSVhsv(229, 63%, 95%)
CMYKcmyk(63.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(53.23, 28.26, -66.01)
CIE-LCHlch(53.23, 71.81, 293.18°)
OKLaboklab(60.74% 0.0011 -0.1894)
OKLCHoklch(60.74% 0.189 270.3)
XYZxyz(26.5027, 21.2549, 86.6931)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5975F2 #F2D659
analogous
#59C1F2 #5975F2 #8A59F2
triadic
#5975F2 #F25975 #75F259
tetradic
#5975F2 #F259C1 #F2D659 #59F28A
square
#5975F2 #F259C1 #F2D659 #59F28A
split-complementary
#5975F2 #F28A59 #C1F259
monochromatic
#0F30C1 #2046EE #5975F2 #92A4F6 #CBD3FB

Accessibility & contrast

On white

4.00
#5975F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#5975F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5975F2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5975F2#FFFFFF#000000##000000
##5975F21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#0092A8
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #5975f2;
/* rgb */ color: rgb(89, 117, 242);
/* oklch */ color: oklch(60.7% 0.189 270.3);
Tailwind
colors: {
  custom: {
    50: '#969cf7',
    500: '#5975f2',
    950: '#000000',
  },
}
SCSS
$custom: #5975f2;
$custom-light: #969cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5975f2",
  "rgb": {
    "r": 89,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 229.02,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.18941,
    "h": 270.3
  },
  "luminance": 0.21257
}

Semantic roles & 50–950 ramp

primary
#5975F2
secondary
#EDE4B9
accent
#B904E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5975F2

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

Preview Lab → · Contrast checker → · Palette generator →

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