#5198D9#5198D9

#5198D9 is a light, vivid cyan. Relative luminance 0.292; OKLCH L 66.2% C 0.121 H 248.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5198D9
RGBrgb(81, 152, 217)
HSLhsl(209, 64%, 58%)
HSVhsv(209, 63%, 85%)
CMYKcmyk(62.7%, 30%, 0%, 14.9%)
CIE-LABlab(60.97, -2.51, -39.78)
CIE-LCHlch(60.97, 39.86, 266.39°)
OKLaboklab(66.17% -0.0449 -0.1122)
OKLCHoklch(66.17% 0.121 248.2)
XYZxyz(27.1413, 29.2129, 69.8405)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198D9 #D99251
analogous
#51D9D6 #5198D9 #5154D9
triadic
#5198D9 #D95198 #98D951
tetradic
#5198D9 #D651D9 #D99251 #54D951
square
#5198D9 #D651D9 #D99251 #54D951
split-complementary
#5198D9 #D95154 #D9D651
monochromatic
#1F5A90 #2A7AC2 #5198D9 #83B6E4 #B5D3EF

Accessibility & contrast

On white

3.07
#5198D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5198D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198D9
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198D9#FFFFFF#000000##000000
##5198D91.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9ADC
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#00A7AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5198d9;
/* rgb */ color: rgb(81, 152, 217);
/* oklch */ color: oklch(66.2% 0.121 248.2);
Tailwind
colors: {
  custom: {
    50: '#8eb6e5',
    500: '#5198d9',
    950: '#000000',
  },
}
SCSS
$custom: #5198d9;
$custom-light: #8eb6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#5198d9",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 217
  },
  "hsl": {
    "h": 208.676,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.66173,
    "c": 0.12088,
    "h": 248.2
  },
  "luminance": 0.29216
}

Semantic roles & 50–950 ramp

primary
#5198D9
secondary
#DEC2A8
accent
#9041E7
background
#F9FBFE
surface
#F2F6FC
border
#CCD0D5
text
#0D1115
muted
#7E8084

Preview Lab

Preview with #5198D9

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

Preview Lab → · Contrast checker → · Palette generator →

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