#5997F2#5997F2

#5997F2 is a light, vivid blue. Relative luminance 0.307; OKLCH L 67.6% C 0.150 H 257.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5997F2
RGBrgb(89, 151, 242)
HSLhsl(216, 85%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63.2%, 37.6%, 0%, 5.1%)
CIE-LABlab(62.22, 7.77, -51.61)
CIE-LCHlch(62.22, 52.19, 278.56°)
OKLaboklab(67.64% -0.0313 -0.1467)
OKLCHoklch(67.64% 0.15 257.9)
XYZxyz(31.2077, 30.6649, 88.2615)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997F2 #F2B459
analogous
#59E4F2 #5997F2 #6759F2
triadic
#5997F2 #F25997 #97F259
tetradic
#5997F2 #F259E4 #F2B459 #59F267
square
#5997F2 #F259E4 #F2B459 #59F267
split-complementary
#5997F2 #F26759 #E4F259
monochromatic
#0F57C1 #2073EE #5997F2 #92BBF6 #CBDEFB

Accessibility & contrast

On white

2.94
#5997F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5997F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997F2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997F2#FFFFFF#000000##000000
##5997F21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9EF6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997f2;
/* rgb */ color: rgb(89, 151, 242);
/* oklch */ color: oklch(67.6% 0.150 257.9);
Tailwind
colors: {
  custom: {
    50: '#95b5f7',
    500: '#5997f2',
    950: '#000000',
  },
}
SCSS
$custom: #5997f2;
$custom-light: #95b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5997f2",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 215.686,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6764,
    "c": 0.14998,
    "h": 257.9
  },
  "luminance": 0.30668
}

Semantic roles & 50–950 ramp

primary
#5997F2
secondary
#EDD8B9
accent
#8804E2
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997F2

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

Preview Lab → · Contrast checker → · Palette generator →

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