#5198A2#5198A2

#5198A2 is a light, moderate teal. Relative luminance 0.268; OKLCH L 63.7% C 0.073 H 207.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5198A2
RGBrgb(81, 152, 162)
HSLhsl(187, 33%, 48%)
HSVhsv(187, 50%, 64%)
CMYKcmyk(50%, 6.2%, 0%, 36.5%)
CIE-LABlab(58.80, -19.47, -12.14)
CIE-LCHlch(58.80, 22.94, 211.94°)
OKLaboklab(63.74% -0.0646 -0.0335)
OKLCHoklch(63.74% 0.073 207.4)
XYZxyz(21.1406, 26.8126, 38.2367)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5198A2 #A25B51
analogous
#51A283 #5198A2 #5170A2
triadic
#5198A2 #A25198 #98A251
tetradic
#5198A2 #8351A2 #A25B51 #70A251
square
#5198A2 #8351A2 #A25B51 #70A251
split-complementary
#5198A2 #A25170 #A28351
monochromatic
#284B50 #3D7279 #5198A2 #76B2BA #9FC9CF

Accessibility & contrast

On white

3.30
#5198A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#5198A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5198A2
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5198A2#FFFFFF#000000##000000
##5198A21.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E93A3
Deuteranopia (green-blind)
#8189A2
Tritanopia (blue-blind)
#209D9B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5198a2;
/* rgb */ color: rgb(81, 152, 162);
/* oklch */ color: oklch(63.7% 0.073 207.4);
Tailwind
colors: {
  custom: {
    50: '#88b6bd',
    500: '#5198a2',
    950: '#000000',
  },
}
SCSS
$custom: #5198a2;
$custom-light: #88b6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#5198a2",
  "rgb": {
    "r": 81,
    "g": 152,
    "b": 162
  },
  "hsl": {
    "h": 187.407,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.63735,
    "c": 0.07278,
    "h": 207.4
  },
  "luminance": 0.26814
}

Semantic roles & 50–950 ramp

primary
#5198A2
secondary
#BC9893
accent
#6C5EC9
background
#F8FBFB
surface
#F0F6F6
border
#CBD0D0
text
#0C1112
muted
#7D8081

Preview Lab

Preview with #5198A2

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

Preview Lab → · Contrast checker → · Palette generator →

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