#5997F0#5997F0

#5997F0 is a light, vivid blue. Relative luminance 0.305; OKLCH L 67.5% C 0.147 H 257.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#5997F0
RGBrgb(89, 151, 240)
HSLhsl(215, 83%, 65%)
HSVhsv(215, 63%, 94%)
CMYKcmyk(62.9%, 37.1%, 0%, 5.9%)
CIE-LABlab(62.12, 7.10, -50.67)
CIE-LCHlch(62.12, 51.17, 277.98°)
OKLaboklab(67.53% -0.0318 -0.1439)
OKLCHoklch(67.53% 0.147 257.5)
XYZxyz(30.9090, 30.5454, 86.6881)
Luminance0.3055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5997F0 #F0B259
analogous
#59E3F0 #5997F0 #6759F0
triadic
#5997F0 #F05997 #97F059
tetradic
#5997F0 #F059E3 #F0B259 #59F067
square
#5997F0 #F059E3 #F0B259 #59F067
split-complementary
#5997F0 #F06759 #E3F059
monochromatic
#1158BD #2174EB #5997F0 #91BAF5 #C9DDFA

Accessibility & contrast

On white

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

On black

7.11
#5997F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5997F0
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5997F0#FFFFFF#000000##000000
##5997F01.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709EF4
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#00ABB8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5997f0;
/* rgb */ color: rgb(89, 151, 240);
/* oklch */ color: oklch(67.5% 0.147 257.5);
Tailwind
colors: {
  custom: {
    50: '#95b5f5',
    500: '#5997f0',
    950: '#000000',
  },
}
SCSS
$custom: #5997f0;
$custom-light: #95b5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#5997f0",
  "rgb": {
    "r": 89,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 215.364,
    "s": 83.425,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67528,
    "c": 0.14739,
    "h": 257.5
  },
  "luminance": 0.30548
}

Semantic roles & 50–950 ramp

primary
#5997F0
secondary
#ECD7B8
accent
#8606E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5997F0

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

Preview Lab → · Contrast checker → · Palette generator →

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