#5198DD#5198DD

#5198DD is a light, vivid cyan. Relative luminance 0.294; OKLCH L 66.4% C 0.126 H 249.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5198DD
RGBrgb(81, 152, 221)
HSLhsl(210, 67%, 59%)
HSVhsv(210, 63%, 87%)
CMYKcmyk(63.3%, 31.2%, 0%, 13.3%)
CIE-LABlab(61.15, -1.19, -41.71)
CIE-LCHlch(61.15, 41.73, 268.37°)
OKLaboklab(66.38% -0.0437 -0.1179)
OKLCHoklch(66.38% 0.126 249.7)
XYZxyz(27.6679, 29.4236, 72.6138)
Luminance0.2943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198DD #DD9651
analogous
#51DDDC #5198DD #5152DD
triadic
#5198DD #DD5198 #98DD51
tetradic
#5198DD #DC51DD #DD9651 #52DD51
square
#5198DD #DC51DD #DD9651 #52DD51
split-complementary
#5198DD #DD5152 #DDDC51
monochromatic
#1D5B96 #277AC9 #5198DD #84B6E7 #B7D5F1

Accessibility & contrast

On white

3.05
#5198DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5198DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198DD
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198DD#FFFFFF#000000##000000
##5198DD1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9BE0
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#00A8B1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5198dd;
/* rgb */ color: rgb(81, 152, 221);
/* oklch */ color: oklch(66.4% 0.126 249.7);
Tailwind
colors: {
  custom: {
    50: '#8eb6e8',
    500: '#5198dd',
    950: '#000000',
  },
}
SCSS
$custom: #5198dd;
$custom-light: #8eb6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5198dd",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 209.571,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.12571,
    "h": 249.7
  },
  "luminance": 0.29426
}

Semantic roles & 50–950 ramp

primary
#5198DD
secondary
#E0C5AA
accent
#933EEA
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1116
muted
#7E8084

Preview Lab

Preview with #5198DD

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

Preview Lab → · Contrast checker → · Palette generator →

#5198DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva