#5A98DF#5A98DF

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

Color values

HEX#5A98DF
RGBrgb(90, 152, 223)
HSLhsl(212, 68%, 61%)
HSVhsv(212, 60%, 87%)
CMYKcmyk(59.6%, 31.8%, 0%, 12.5%)
CIE-LABlab(61.62, 1.12, -42.07)
CIE-LCHlch(61.62, 42.09, 271.53°)
OKLaboklab(66.87% -0.0363 -0.1188)
OKLCHoklch(66.87% 0.124 253)
XYZxyz(28.7592, 29.9552, 74.0641)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A98DF #DFA15A
analogous
#5ADBDF #5A98DF #5F5ADF
triadic
#5A98DF #DF5A98 #98DF5A
tetradic
#5A98DF #DF5ADB #DFA15A #5ADF5F
square
#5A98DF #DF5ADB #DFA15A #5ADF5F
split-complementary
#5A98DF #DF5F5A #DBDF5A
monochromatic
#1F5BA0 #2978D3 #5A98DF #8DB8E9 #C1D8F3

Accessibility & contrast

On white

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

On black

6.99
#5A98DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A98DF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A98DF#FFFFFF#000000##000000
##5A98DF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a98df;
/* rgb */ color: rgb(90, 152, 223);
/* oklch */ color: oklch(66.9% 0.124 253.0);
Tailwind
colors: {
  custom: {
    50: '#93b6e9',
    500: '#5a98df',
    950: '#000000',
  },
}
SCSS
$custom: #5a98df;
$custom-light: #93b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5a98df",
  "rgb": {
    "r": 90,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 212.03,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.66874,
    "c": 0.12423,
    "h": 253
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#5A98DF
secondary
#E3CCB2
accent
#7916CF
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5A98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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