#5998F3#5998F3

#5998F3 is a light, vivid blue. Relative luminance 0.311; OKLCH L 67.9% C 0.150 H 257.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#5998F3
RGBrgb(89, 152, 243)
HSLhsl(215, 87%, 65%)
HSVhsv(215, 63%, 95%)
CMYKcmyk(63.4%, 37.4%, 0%, 4.7%)
CIE-LABlab(62.55, 7.52, -51.65)
CIE-LCHlch(62.55, 52.19, 278.28°)
OKLaboklab(67.91% -0.0321 -0.1468)
OKLCHoklch(67.91% 0.15 257.7)
XYZxyz(31.5199, 31.0484, 89.1085)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5998F3 #F3B459
analogous
#59E5F3 #5998F3 #6759F3
triadic
#5998F3 #F35998 #98F359
tetradic
#5998F3 #F359E5 #F3B459 #59F367
square
#5998F3 #F359E5 #F3B459 #59F367
split-complementary
#5998F3 #F36759 #E5F359
monochromatic
#0E58C3 #2075EF #5998F3 #92BBF7 #CBDFFB

Accessibility & contrast

On white

2.91
#5998F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#5998F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5998F3
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5998F3#FFFFFF#000000##000000
##5998F31.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF7
Deuteranopia (green-blind)
#5A91F1
Tritanopia (blue-blind)
#00ADBA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5998f3;
/* rgb */ color: rgb(89, 152, 243);
/* oklch */ color: oklch(67.9% 0.150 257.7);
Tailwind
colors: {
  custom: {
    50: '#95b5f7',
    500: '#5998f3',
    950: '#000000',
  },
}
SCSS
$custom: #5998f3;
$custom-light: #95b5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5998f3",
  "rgb": {
    "r": 89,
    "g": 152,
    "b": 243
  },
  "hsl": {
    "h": 215.455,
    "s": 86.517,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67909,
    "c": 0.15023,
    "h": 257.7
  },
  "luminance": 0.31051
}

Semantic roles & 50–950 ramp

primary
#5998F3
secondary
#EED9BA
accent
#8702E3
background
#F9FBFF
surface
#F2F6FF
border
#CCD0D7
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5998F3

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

Preview Lab → · Contrast checker → · Palette generator →

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