#2798B9#2798B9

#2798B9 is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.3% C 0.107 H 222.6°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2798B9
RGBrgb(39, 152, 185)
HSLhsl(194, 65%, 44%)
HSVhsv(194, 79%, 73%)
CMYKcmyk(78.9%, 17.8%, 0%, 27.5%)
CIE-LABlab(58.40, -19.31, -25.90)
CIE-LCHlch(58.40, 32.31, 233.30°)
OKLaboklab(63.35% -0.079 -0.0726)
OKLCHoklch(63.35% 0.107 222.6)
XYZxyz(20.8182, 26.3880, 49.8857)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798B9 #B94827
analogous
#27B991 #2798B9 #274FB9
triadic
#2798B9 #B92798 #98B927
tetradic
#2798B9 #9127B9 #B94827 #4FB927
square
#2798B9 #9127B9 #B94827 #4FB927
split-complementary
#2798B9 #B9274F #B99127
monochromatic
#124554 #1C6E86 #2798B9 #45B7D8 #78CAE3

Accessibility & contrast

On white

3.34
#2798B9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#2798B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798B9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798B9#FFFFFF#000000##000000
##2798B91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8594BB
Deuteranopia (green-blind)
#7286B9
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2798b9;
/* rgb */ color: rgb(39, 152, 185);
/* oklch */ color: oklch(63.3% 0.107 222.6);
Tailwind
colors: {
  custom: {
    50: '#79b6ce',
    500: '#2798b9',
    950: '#000000',
  },
}
SCSS
$custom: #2798b9;
$custom-light: #79b6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2798b9",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 185
  },
  "hsl": {
    "h": 193.562,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.10729,
    "h": 222.6
  },
  "luminance": 0.26391
}

Semantic roles & 50–950 ramp

primary
#2798B9
secondary
#CA8672
accent
#6640E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2798B9

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

Preview Lab → · Contrast checker → · Palette generator →

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