#2798BC#2798BC

#2798BC is a light, moderate cyan. Relative luminance 0.265; OKLCH L 63.5% C 0.109 H 224.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2798BC
RGBrgb(39, 152, 188)
HSLhsl(194, 66%, 45%)
HSVhsv(194, 79%, 74%)
CMYKcmyk(79.3%, 19.1%, 0%, 26.3%)
CIE-LABlab(58.52, -18.29, -27.41)
CIE-LCHlch(58.52, 32.95, 236.29°)
OKLaboklab(63.48% -0.0779 -0.0769)
OKLCHoklch(63.48% 0.109 224.6)
XYZxyz(21.1383, 26.5160, 51.5712)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2798BC #BC4B27
analogous
#27BC96 #2798BC #274DBC
triadic
#2798BC #BC2798 #98BC27
tetradic
#2798BC #9627BC #BC4B27 #4DBC27
square
#2798BC #9627BC #BC4B27 #4DBC27
split-complementary
#2798BC #BC274D #BC9627
monochromatic
#124657 #1C6F89 #2798BC #47B6D9 #7ACAE3

Accessibility & contrast

On white

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

On black

6.30
#2798BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2798BC
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2798BC#FFFFFF#000000##000000
##2798BC1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2798bc;
/* rgb */ color: rgb(39, 152, 188);
/* oklch */ color: oklch(63.5% 0.109 224.6);
Tailwind
colors: {
  custom: {
    50: '#7ab6d0',
    500: '#2798bc',
    950: '#000000',
  },
}
SCSS
$custom: #2798bc;
$custom-light: #7ab6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2798bc",
  "rgb": {
    "r": 39,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 194.497,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63482,
    "c": 0.10945,
    "h": 224.6
  },
  "luminance": 0.26519
}

Semantic roles & 50–950 ramp

primary
#2798BC
secondary
#CB8973
accent
#683FE9
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1114
muted
#7C8082

Preview Lab

Preview with #2798BC

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

Preview Lab → · Contrast checker → · Palette generator →

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