#2798BD#2798BD

#2798BD is a light, moderate cyan. Relative luminance 0.266; OKLCH L 63.5% C 0.110 H 225.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2798BD
RGBrgb(39, 152, 189)
HSLhsl(195, 66%, 45%)
HSVhsv(195, 79%, 74%)
CMYKcmyk(79.4%, 19.6%, 0%, 25.9%)
CIE-LABlab(58.56, -17.95, -27.91)
CIE-LCHlch(58.56, 33.19, 237.26°)
OKLaboklab(63.53% -0.0775 -0.0783)
OKLCHoklch(63.53% 0.11 225.3)
XYZxyz(21.2464, 26.5593, 52.1409)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798BD #BD4C27
analogous
#27BD97 #2798BD #274DBD
triadic
#2798BD #BD2798 #98BD27
tetradic
#2798BD #9727BD #BD4C27 #4DBD27
square
#2798BD #9727BD #BD4C27 #4DBD27
split-complementary
#2798BD #BD274D #BD9727
monochromatic
#124658 #1D6F8A #2798BD #48B5D9 #7BCAE4

Accessibility & contrast

On white

3.33
#2798BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#2798BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798BD
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798BD#FFFFFF#000000##000000
##2798BD1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BF
Deuteranopia (green-blind)
#7087BD
Tritanopia (blue-blind)
#00A3A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2798bd;
/* rgb */ color: rgb(39, 152, 189);
/* oklch */ color: oklch(63.5% 0.110 225.3);
Tailwind
colors: {
  custom: {
    50: '#7ab6d1',
    500: '#2798bd',
    950: '#000000',
  },
}
SCSS
$custom: #2798bd;
$custom-light: #7ab6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2798bd",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 189
  },
  "hsl": {
    "h": 194.8,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63528,
    "c": 0.1102,
    "h": 225.3
  },
  "luminance": 0.26562
}

Semantic roles & 50–950 ramp

primary
#2798BD
secondary
#CC8A74
accent
#693FE9
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2798BD

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

Preview Lab → · Contrast checker → · Palette generator →

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