#2798B5#2798B5

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

Color values

HEX#2798B5
RGBrgb(39, 152, 181)
HSLhsl(192, 65%, 43%)
HSVhsv(192, 78%, 71%)
CMYKcmyk(78.5%, 16%, 0%, 29%)
CIE-LABlab(58.25, -20.65, -23.88)
CIE-LCHlch(58.25, 31.57, 229.14°)
OKLaboklab(63.17% -0.0806 -0.0668)
OKLCHoklch(63.17% 0.105 219.7)
XYZxyz(20.4019, 26.2215, 47.6931)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798B5 #B54427
analogous
#27B58B #2798B5 #2751B5
triadic
#2798B5 #B52798 #98B527
tetradic
#2798B5 #8B27B5 #B54427 #51B527
square
#2798B5 #8B27B5 #B54427 #51B527
split-complementary
#2798B5 #B52751 #B58B27
monochromatic
#114350 #1C6E83 #2798B5 #43B8D6 #75CBE1

Accessibility & contrast

On white

3.36
#2798B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2798B5#FFFFFF#000000##000000
##2798B51.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8694B7
Deuteranopia (green-blind)
#7386B5
Tritanopia (blue-blind)
#00A2A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #2798b5;
/* rgb */ color: rgb(39, 152, 181);
/* oklch */ color: oklch(63.2% 0.105 219.7);
Tailwind
colors: {
  custom: {
    50: '#79b6cb',
    500: '#2798b5',
    950: '#000000',
  },
}
SCSS
$custom: #2798b5;
$custom-light: #79b6cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2798b5",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 181
  },
  "hsl": {
    "h": 192.254,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.63168,
    "c": 0.10468,
    "h": 219.7
  },
  "luminance": 0.26224
}

Semantic roles & 50–950 ramp

primary
#2798B5
secondary
#C9816F
accent
#6240E8
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2798B5

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

Preview Lab → · Contrast checker → · Palette generator →

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