#2798B3#2798B3

#2798B3 is a light, moderate cyan. Relative luminance 0.261; OKLCH L 63.1% C 0.103 H 218.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#2798B3
RGBrgb(39, 152, 179)
HSLhsl(192, 64%, 43%)
HSVhsv(192, 78%, 70%)
CMYKcmyk(78.2%, 15.1%, 0%, 29.8%)
CIE-LABlab(58.17, -21.32, -22.86)
CIE-LCHlch(58.17, 31.26, 227.00°)
OKLaboklab(63.08% -0.0814 -0.0639)
OKLCHoklch(63.08% 0.103 218.1)
XYZxyz(20.1982, 26.1400, 46.6201)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798B3 #B34227
analogous
#27B388 #2798B3 #2752B3
triadic
#2798B3 #B32798 #98B327
tetradic
#2798B3 #8827B3 #B34227 #52B327
square
#2798B3 #8827B3 #B34227 #52B327
split-complementary
#2798B3 #B32752 #B38827
monochromatic
#11434E #1C6D81 #2798B3 #41B9D6 #74CCE1

Accessibility & contrast

On white

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

On black

6.23
#2798B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798B3
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798B3#FFFFFF#000000##000000
##2798B31.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2798b3;
/* rgb */ color: rgb(39, 152, 179);
/* oklch */ color: oklch(63.1% 0.103 218.1);
Tailwind
colors: {
  custom: {
    50: '#78b6c9',
    500: '#2798b3',
    950: '#000000',
  },
}
SCSS
$custom: #2798b3;
$custom-light: #78b6c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2798b3",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 179
  },
  "hsl": {
    "h": 191.571,
    "s": 64.22,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63081,
    "c": 0.10348,
    "h": 218.1
  },
  "luminance": 0.26142
}

Semantic roles & 50–950 ramp

primary
#2798B3
secondary
#C87F6E
accent
#6141E7
background
#F8FBFC
surface
#EFF6F8
border
#CAD0D1
text
#0A1113
muted
#7C8082

Preview Lab

Preview with #2798B3

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

Preview Lab → · Contrast checker → · Palette generator →

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