#5B98DF#5B98DF

#5B98DF is a light, vivid cyan. Relative luminance 0.300; OKLCH L 66.9% C 0.124 H 253.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#5B98DF
RGBrgb(91, 152, 223)
HSLhsl(212, 67%, 62%)
HSVhsv(212, 59%, 87%)
CMYKcmyk(59.2%, 31.8%, 0%, 12.5%)
CIE-LABlab(61.66, 1.32, -42.00)
CIE-LCHlch(61.66, 42.02, 271.79°)
OKLaboklab(66.92% -0.0355 -0.1186)
OKLCHoklch(66.92% 0.124 253.3)
XYZxyz(28.8571, 30.0057, 74.0687)
Luminance0.3001 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B98DF #DFA25B
analogous
#5BDADF #5B98DF #605BDF
triadic
#5B98DF #DF5B98 #98DF5B
tetradic
#5B98DF #DF5BDA #DFA25B #5BDF60
square
#5B98DF #DF5BDA #DFA25B #5BDF60
split-complementary
#5B98DF #DF605B #DADF5B
monochromatic
#1F5BA0 #2978D4 #5B98DF #8EB8E9 #C1D8F3

Accessibility & contrast

On white

3.00
#5B98DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#5B98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5B98DF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B98DF#FFFFFF#000000##000000
##5B98DF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9CE2
Deuteranopia (green-blind)
#698FDE
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5b98df;
/* rgb */ color: rgb(91, 152, 223);
/* oklch */ color: oklch(66.9% 0.124 253.3);
Tailwind
colors: {
  custom: {
    50: '#94b6e9',
    500: '#5b98df',
    950: '#000000',
  },
}
SCSS
$custom: #5b98df;
$custom-light: #94b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5b98df",
  "rgb": {
    "r": 91,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 212.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6692,
    "c": 0.12377,
    "h": 253.3
  },
  "luminance": 0.30008
}

Semantic roles & 50–950 ramp

primary
#5B98DF
secondary
#E3CDB2
accent
#7A16CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5B98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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