#28798B#28798B

#28798B is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.6% C 0.081 H 215.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#28798B
RGBrgb(40, 121, 139)
HSLhsl(191, 55%, 35%)
HSVhsv(191, 71%, 55%)
CMYKcmyk(71.2%, 12.9%, 0%, 45.5%)
CIE-LABlab(46.96, -17.99, -16.87)
CIE-LCHlch(46.96, 24.66, 223.17°)
OKLaboklab(53.56% -0.0657 -0.047)
OKLCHoklch(53.56% 0.081 215.6)
XYZxyz(12.3707, 15.9885, 26.8552)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28798B #8B3A28
analogous
#288B6B #28798B #28488B
triadic
#28798B #8B2879 #798B28
tetradic
#28798B #6B288B #8B3A28 #488B28
square
#28798B #6B288B #8B3A28 #488B28
split-complementary
#28798B #8B2848 #8B6B28
monochromatic
#0D262C #1A505B #28798B #36A2BB #5DBBD0

Accessibility & contrast

On white

5.00
#28798B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#28798B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28798B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28798B#FFFFFF#000000##FFFFFF
##28798B1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D758C
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #28798b;
/* rgb */ color: rgb(40, 121, 139);
/* oklch */ color: oklch(53.6% 0.081 215.6);
Tailwind
colors: {
  custom: {
    50: '#70a0ad',
    500: '#28798b',
    950: '#000000',
  },
}
SCSS
$custom: #28798b;
$custom-light: #70a0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28798b",
  "rgb": {
    "r": 40,
    "g": 121,
    "b": 139
  },
  "hsl": {
    "h": 190.909,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53562,
    "c": 0.08078,
    "h": 215.6
  },
  "luminance": 0.1599
}

Semantic roles & 50–950 ramp

primary
#28798B
secondary
#B66A59
accent
#6449DF
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28798B

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

Preview Lab → · Contrast checker → · Palette generator →

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