#28799C#28799C

#28799C is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.093 H 230.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#28799C
RGBrgb(40, 121, 156)
HSLhsl(198, 59%, 38%)
HSVhsv(198, 74%, 61%)
CMYKcmyk(74.4%, 22.4%, 0%, 38.8%)
CIE-LABlab(47.66, -12.15, -25.82)
CIE-LCHlch(47.66, 28.54, 244.80°)
OKLaboklab(54.35% -0.0589 -0.0725)
OKLCHoklch(54.35% 0.093 230.9)
XYZxyz(13.7108, 16.5246, 33.9130)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28799C #9C4B28
analogous
#289C85 #28799C #283F9C
triadic
#28799C #9C2879 #799C28
tetradic
#28799C #85289C #9C4B28 #3F9C28
square
#28799C #85289C #9C4B28 #3F9C28
split-complementary
#28799C #9C283F #9C8528
monochromatic
#0F2D3B #1C536B #28799C #369ECB #67B6D8

Accessibility & contrast

On white

4.88
#28799C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#28799C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28799C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28799C#FFFFFF#000000##FFFFFF
##28799C1.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67779E
Deuteranopia (green-blind)
#586C9B
Tritanopia (blue-blind)
#008385
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #28799c;
/* rgb */ color: rgb(40, 121, 156);
/* oklch */ color: oklch(54.4% 0.093 230.9);
Tailwind
colors: {
  custom: {
    50: '#739fb9',
    500: '#28799c',
    950: '#000000',
  },
}
SCSS
$custom: #28799c;
$custom-light: #739fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#28799c",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 156
  },
  "hsl": {
    "h": 198.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.5435,
    "c": 0.09345,
    "h": 230.9
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#28799C
secondary
#BE7E62
accent
#7545E2
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #28799C

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

Preview Lab → · Contrast checker → · Palette generator →

#28799C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva