#2798BA#2798BA

#2798BA is a light, moderate cyan. Relative luminance 0.264; OKLCH L 63.4% C 0.108 H 223.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#2798BA
RGBrgb(39, 152, 186)
HSLhsl(194, 65%, 44%)
HSVhsv(194, 79%, 73%)
CMYKcmyk(79%, 18.3%, 0%, 27.1%)
CIE-LABlab(58.44, -18.97, -26.40)
CIE-LCHlch(58.44, 32.51, 234.31°)
OKLaboklab(63.39% -0.0786 -0.074)
OKLCHoklch(63.39% 0.108 223.3)
XYZxyz(20.9242, 26.4304, 50.4436)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798BA #BA4927
analogous
#27BA93 #2798BA #274EBA
triadic
#2798BA #BA2798 #98BA27
tetradic
#2798BA #9327BA #BA4927 #4EBA27
square
#2798BA #9327BA #BA4927 #4EBA27
split-complementary
#2798BA #BA274E #BA9327
monochromatic
#124555 #1C6F87 #2798BA #46B6D8 #79CAE3

Accessibility & contrast

On white

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

On black

6.29
#2798BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798BA#FFFFFF#000000##000000
##2798BA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8594BC
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#00A2A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #2798ba;
/* rgb */ color: rgb(39, 152, 186);
/* oklch */ color: oklch(63.4% 0.108 223.3);
Tailwind
colors: {
  custom: {
    50: '#79b6ce',
    500: '#2798ba',
    950: '#000000',
  },
}
SCSS
$custom: #2798ba;
$custom-light: #79b6ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2798ba",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 186
  },
  "hsl": {
    "h": 193.878,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63391,
    "c": 0.108,
    "h": 223.3
  },
  "luminance": 0.26433
}

Semantic roles & 50–950 ramp

primary
#2798BA
secondary
#CB8772
accent
#6740E8
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082

Preview Lab

Preview with #2798BA

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

Preview Lab → · Contrast checker → · Palette generator →

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