#5997F1#5997F1

#5997F1 is a light, vivid blue. Relative luminance 0.306; OKLCH L 67.6% C 0.149 H 257.7°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5997F1
RGBrgb(89, 151, 241)
HSLhsl(216, 84%, 65%)
HSVhsv(216, 63%, 95%)
CMYKcmyk(63.1%, 37.3%, 0%, 5.5%)
CIE-LABlab(62.17, 7.44, -51.14)
CIE-LCHlch(62.17, 51.68, 278.27°)
OKLaboklab(67.58% -0.0315 -0.1453)
OKLCHoklch(67.58% 0.149 257.7)
XYZxyz(31.0579, 30.6050, 87.4726)
Luminance0.3061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997F1 #F1B359
analogous
#59E3F1 #5997F1 #6759F1
triadic
#5997F1 #F15997 #97F159
tetradic
#5997F1 #F159E3 #F1B359 #59F167
square
#5997F1 #F159E3 #F1B359 #59F167
split-complementary
#5997F1 #F16759 #E3F159
monochromatic
#1058BF #2174EC #5997F1 #91BAF6 #CADEFB

Accessibility & contrast

On white

2.95
#5997F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5997F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997F1
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997F1#FFFFFF#000000##000000
##5997F11.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF5
Deuteranopia (green-blind)
#5A90EF
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997f1;
/* rgb */ color: rgb(89, 151, 241);
/* oklch */ color: oklch(67.6% 0.149 257.7);
Tailwind
colors: {
  custom: {
    50: '#95b5f6',
    500: '#5997f1',
    950: '#000000',
  },
}
SCSS
$custom: #5997f1;
$custom-light: #95b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5997f1",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 241
  },
  "hsl": {
    "h": 215.526,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67584,
    "c": 0.14868,
    "h": 257.7
  },
  "luminance": 0.30608
}

Semantic roles & 50–950 ramp

primary
#5997F1
secondary
#EDD8B9
accent
#8705E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997F1

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

Preview Lab → · Contrast checker → · Palette generator →

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