#5977F2#5977F2

#5977F2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.1% C 0.187 H 269.8°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#5977F2
RGBrgb(89, 119, 242)
HSLhsl(228, 85%, 65%)
HSVhsv(228, 63%, 95%)
CMYKcmyk(63.2%, 50.8%, 0%, 5.1%)
CIE-LABlab(53.73, 27.04, -65.19)
CIE-LCHlch(53.73, 70.58, 292.52°)
OKLaboklab(61.12% -0.0007 -0.187)
OKLCHoklch(61.12% 0.187 269.8)
XYZxyz(26.7382, 21.7259, 86.7716)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5977F2 #F2D459
analogous
#59C4F2 #5977F2 #8759F2
triadic
#5977F2 #F25977 #77F259
tetradic
#5977F2 #F259C4 #F2D459 #59F287
square
#5977F2 #F259C4 #F2D459 #59F287
split-complementary
#5977F2 #F28759 #C4F259
monochromatic
#0F32C1 #2049EE #5977F2 #92A5F6 #CBD4FB

Accessibility & contrast

On white

3.93
#5977F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#5977F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5977F2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5977F2#FFFFFF#000000##000000
##5977F21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#0094A9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5977f2;
/* rgb */ color: rgb(89, 119, 242);
/* oklch */ color: oklch(61.1% 0.187 269.8);
Tailwind
colors: {
  custom: {
    50: '#969df7',
    500: '#5977f2',
    950: '#000000',
  },
}
SCSS
$custom: #5977f2;
$custom-light: #969df7;
$custom-dark: #000000;
JSON
{
  "hex": "#5977f2",
  "rgb": {
    "r": 89,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 228.235,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61124,
    "c": 0.18697,
    "h": 269.8
  },
  "luminance": 0.21728
}

Semantic roles & 50–950 ramp

primary
#5977F2
secondary
#EDE3B9
accent
#B604E2
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #5977F2

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

Preview Lab → · Contrast checker → · Palette generator →

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