#5B98EF#5B98EF

#5B98EF is a light, vivid blue. Relative luminance 0.309; OKLCH L 67.8% C 0.144 H 257.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#5B98EF
RGBrgb(91, 152, 239)
HSLhsl(215, 82%, 65%)
HSVhsv(215, 62%, 94%)
CMYKcmyk(61.9%, 36.4%, 0%, 6.3%)
CIE-LABlab(62.43, 6.54, -49.63)
CIE-LCHlch(62.43, 50.06, 277.51°)
OKLaboklab(67.77% -0.0314 -0.1408)
OKLCHoklch(67.77% 0.144 257.4)
XYZxyz(31.1171, 30.9097, 85.9709)
Luminance0.3091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98EF #EFB25B
analogous
#5BE2EF #5B98EF #685BEF
triadic
#5B98EF #EF5B98 #98EF5B
tetradic
#5B98EF #EF5BE2 #EFB25B #5BEF68
square
#5B98EF #EF5BE2 #EFB25B #5BEF68
split-complementary
#5B98EF #EF685B #E2EF5B
monochromatic
#1259BD #2375EA #5B98EF #93BBF4 #CBDEFA

Accessibility & contrast

On white

2.92
#5B98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#5B98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98EF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98EF#FFFFFF#000000##000000
##5B98EF1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#729FF3
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#00ACB8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5b98ef;
/* rgb */ color: rgb(91, 152, 239);
/* oklch */ color: oklch(67.8% 0.144 257.4);
Tailwind
colors: {
  custom: {
    50: '#96b5f4',
    500: '#5b98ef',
    950: '#000000',
  },
}
SCSS
$custom: #5b98ef;
$custom-light: #96b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98ef",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 215.27,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.14429,
    "h": 257.4
  },
  "luminance": 0.30913
}

Semantic roles & 50–950 ramp

primary
#5B98EF
secondary
#ECD7BA
accent
#8607DF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1117
muted
#7E8085

Preview Lab

Preview with #5B98EF

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

Preview Lab → · Contrast checker → · Palette generator →

#5B98EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva