#28718F#28718F

#28718F is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.7% C 0.085 H 229.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#28718F
RGBrgb(40, 113, 143)
HSLhsl(197, 56%, 36%)
HSVhsv(197, 72%, 56%)
CMYKcmyk(72%, 21%, 0%, 43.9%)
CIE-LABlab(44.58, -12.14, -22.90)
CIE-LCHlch(44.58, 25.92, 242.08°)
OKLaboklab(51.71% -0.0555 -0.0642)
OKLCHoklch(51.71% 0.085 229.2)
XYZxyz(11.7361, 14.2432, 28.1120)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28718F #8F4628
analogous
#288F79 #28718F #283D8F
triadic
#28718F #8F2871 #718F28
tetradic
#28718F #79288F #8F4628 #3D8F28
square
#28718F #79288F #8F4628 #3D8F28
split-complementary
#28718F #8F283D #8F7928
monochromatic
#0D252F #1B4B5F #28718F #3597BF #5FB1D2

Accessibility & contrast

On white

5.46
#28718F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#28718F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #28718F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28718F#FFFFFF#000000##FFFFFF
##28718F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#616F90
Deuteranopia (green-blind)
#53658F
Tritanopia (blue-blind)
#00797B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #28718f;
/* rgb */ color: rgb(40, 113, 143);
/* oklch */ color: oklch(51.7% 0.085 229.2);
Tailwind
colors: {
  custom: {
    50: '#7099b0',
    500: '#28718f',
    950: '#000000',
  },
}
SCSS
$custom: #28718f;
$custom-light: #7099b0;
$custom-dark: #000000;
JSON
{
  "hex": "#28718f",
  "rgb": {
    "r": 40,
    "g": 113,
    "b": 143
  },
  "hsl": {
    "h": 197.476,
    "s": 56.284,
    "l": 35.882
  },
  "oklch": {
    "l": 0.51709,
    "c": 0.08488,
    "h": 229.2
  },
  "luminance": 0.14245
}

Semantic roles & 50–950 ramp

primary
#28718F
secondary
#B8765B
accent
#7448E0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #28718F

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

Preview Lab → · Contrast checker → · Palette generator →

#28718F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva