#5998F1#5998F1

#5998F1 is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.148 H 257.3°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#5998F1
RGBrgb(89, 152, 241)
HSLhsl(215, 84%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(63.1%, 36.9%, 0%, 5.5%)
CIE-LABlab(62.45, 6.85, -50.71)
CIE-LCHlch(62.45, 51.17, 277.69°)
OKLaboklab(67.8% -0.0325 -0.144)
OKLCHoklch(67.8% 0.148 257.3)
XYZxyz(31.2196, 30.9282, 87.5265)
Luminance0.3093 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5998F1 #F1B259
analogous
#59E4F1 #5998F1 #6659F1
triadic
#5998F1 #F15998 #98F159
tetradic
#5998F1 #F159E4 #F1B259 #59F166
square
#5998F1 #F159E4 #F1B259 #59F166
split-complementary
#5998F1 #F16659 #E4F159
monochromatic
#1059BF #2175EC #5998F1 #91BBF6 #CADEFB

Accessibility & contrast

On white

2.92
#5998F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#5998F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5998F1
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5998F1#FFFFFF#000000##000000
##5998F11.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#719FF5
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#00ACB9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5998f1;
/* rgb */ color: rgb(89, 152, 241);
/* oklch */ color: oklch(67.8% 0.148 257.3);
Tailwind
colors: {
  custom: {
    50: '#95b5f6',
    500: '#5998f1',
    950: '#000000',
  },
}
SCSS
$custom: #5998f1;
$custom-light: #95b5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#5998f1",
  "rgb": {
    "r": 89,
    "g": 152,
    "b": 241
  },
  "hsl": {
    "h": 215.132,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67797,
    "c": 0.14764,
    "h": 257.3
  },
  "luminance": 0.30931
}

Semantic roles & 50–950 ramp

primary
#5998F1
secondary
#EDD7B9
accent
#8605E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5998F1

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

Preview Lab → · Contrast checker → · Palette generator →

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