#2798B4#2798B4

#2798B4 is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.1% C 0.104 H 218.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2798B4
RGBrgb(39, 152, 180)
HSLhsl(192, 64%, 43%)
HSVhsv(192, 78%, 71%)
CMYKcmyk(78.3%, 15.6%, 0%, 29.4%)
CIE-LABlab(58.21, -20.99, -23.37)
CIE-LCHlch(58.21, 31.41, 228.07°)
OKLaboklab(63.12% -0.081 -0.0654)
OKLCHoklch(63.12% 0.104 218.9)
XYZxyz(20.2997, 26.1806, 47.1546)
Luminance0.2618 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798B4 #B44327
analogous
#27B489 #2798B4 #2751B4
triadic
#2798B4 #B42798 #98B427
tetradic
#2798B4 #8927B4 #B44327 #51B427
square
#2798B4 #8927B4 #B44327 #51B427
split-complementary
#2798B4 #B42751 #B48927
monochromatic
#11434F #1C6E82 #2798B4 #42B9D6 #74CBE1

Accessibility & contrast

On white

3.37
#2798B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#2798B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798B4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798B4#FFFFFF#000000##000000
##2798B41.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B6
Deuteranopia (green-blind)
#7486B4
Tritanopia (blue-blind)
#00A1A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2798b4;
/* rgb */ color: rgb(39, 152, 180);
/* oklch */ color: oklch(63.1% 0.104 218.9);
Tailwind
colors: {
  custom: {
    50: '#78b6ca',
    500: '#2798b4',
    950: '#000000',
  },
}
SCSS
$custom: #2798b4;
$custom-light: #78b6ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2798b4",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 180
  },
  "hsl": {
    "h": 191.915,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63124,
    "c": 0.10407,
    "h": 218.9
  },
  "luminance": 0.26183
}

Semantic roles & 50–950 ramp

primary
#2798B4
secondary
#C8806F
accent
#6240E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2798B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2798B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva