#5198D2#5198D2

#5198D2 is a light, moderate cyan. Relative luminance 0.289; OKLCH L 65.8% C 0.113 H 245.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#5198D2
RGBrgb(81, 152, 210)
HSLhsl(207, 59%, 57%)
HSVhsv(207, 61%, 82%)
CMYKcmyk(61.4%, 27.6%, 0%, 17.6%)
CIE-LABlab(60.65, -4.80, -36.37)
CIE-LCHlch(60.65, 36.68, 262.49°)
OKLaboklab(65.82% -0.047 -0.1023)
OKLCHoklch(65.82% 0.113 245.3)
XYZxyz(26.2501, 28.8564, 65.1467)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198D2 #D28B51
analogous
#51D2CC #5198D2 #5158D2
triadic
#5198D2 #D25198 #98D251
tetradic
#5198D2 #CC51D2 #D28B51 #58D251
square
#5198D2 #CC51D2 #D28B51 #58D251
split-complementary
#5198D2 #D25158 #D2CC51
monochromatic
#235986 #2F7AB7 #5198D2 #82B5DF #B2D2EB

Accessibility & contrast

On white

3.10
#5198D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#5198D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198D2
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198D2#FFFFFF#000000##000000
##5198D21.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F99D5
Deuteranopia (green-blind)
#6D8DD1
Tritanopia (blue-blind)
#00A6AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5198d2;
/* rgb */ color: rgb(81, 152, 210);
/* oklch */ color: oklch(65.8% 0.113 245.3);
Tailwind
colors: {
  custom: {
    50: '#8db6e0',
    500: '#5198d2',
    950: '#000000',
  },
}
SCSS
$custom: #5198d2;
$custom-light: #8db6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#5198d2",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 206.977,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65822,
    "c": 0.11261,
    "h": 245.3
  },
  "luminance": 0.28859
}

Semantic roles & 50–950 ramp

primary
#5198D2
secondary
#DABDA5
accent
#8C46E2
background
#F9FBFD
surface
#F1F6FB
border
#CBD0D4
text
#0D1115
muted
#7E8083

Preview Lab

Preview with #5198D2

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

Preview Lab → · Contrast checker → · Palette generator →

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