#28798E#28798E

#28798E is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.7% C 0.083 H 218.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#28798E
RGBrgb(40, 121, 142)
HSLhsl(192, 56%, 36%)
HSVhsv(192, 72%, 56%)
CMYKcmyk(71.8%, 14.8%, 0%, 44.3%)
CIE-LABlab(47.08, -16.98, -18.47)
CIE-LCHlch(47.08, 25.09, 227.41°)
OKLaboklab(53.69% -0.0644 -0.0515)
OKLCHoklch(53.69% 0.083 218.6)
XYZxyz(12.5929, 16.0774, 28.0255)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798E #8E3D28
analogous
#288E70 #28798E #28468E
triadic
#28798E #8E2879 #798E28
tetradic
#28798E #70288E #8E3D28 #468E28
square
#28798E #70288E #8E3D28 #468E28
split-complementary
#28798E #8E2846 #8E7028
monochromatic
#0D282F #1B505E #28798E #35A2BE #5FBAD2

Accessibility & contrast

On white

4.98
#28798E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#28798E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28798E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798E#FFFFFF#000000##FFFFFF
##28798E1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C768F
Deuteranopia (green-blind)
#5D6B8E
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #28798e;
/* rgb */ color: rgb(40, 121, 142);
/* oklch */ color: oklch(53.7% 0.083 218.6);
Tailwind
colors: {
  custom: {
    50: '#70a0af',
    500: '#28798e',
    950: '#000000',
  },
}
SCSS
$custom: #28798e;
$custom-light: #70a0af;
$custom-dark: #000000;
JSON
{
  "hex": "#28798e",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 142
  },
  "hsl": {
    "h": 192.353,
    "s": 56.044,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.0825,
    "h": 218.6
  },
  "luminance": 0.16079
}

Semantic roles & 50–950 ramp

primary
#28798E
secondary
#B76E5B
accent
#6848DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28798E

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

Preview Lab → · Contrast checker → · Palette generator →

#28798E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva