#28587E#28587E

#28587E is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.5% C 0.082 H 245.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#28587E
RGBrgb(40, 88, 126)
HSLhsl(207, 52%, 33%)
HSVhsv(207, 68%, 49%)
CMYKcmyk(68.3%, 30.2%, 0%, 50.6%)
CIE-LABlab(35.86, -3.24, -26.19)
CIE-LCHlch(35.86, 26.39, 262.95°)
OKLaboklab(44.53% -0.0344 -0.0739)
OKLCHoklch(44.53% 0.082 245.1)
XYZxyz(8.1293, 8.9361, 21.0310)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28587E #7E4E28
analogous
#287E79 #28587E #282D7E
triadic
#28587E #7E2858 #587E28
tetradic
#28587E #79287E #7E4E28 #2D7E28
square
#28587E #79287E #7E4E28 #2D7E28
split-complementary
#28587E #7E282D #7E7928
monochromatic
#0B1721 #193850 #28587E #3778AC #5797CA

Accessibility & contrast

On white

7.53
#28587E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#28587E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28587E
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28587E#FFFFFF#000000##FFFFFF
##28587E1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475980
Deuteranopia (green-blind)
#3B517D
Tritanopia (blue-blind)
#006165
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28587e;
/* rgb */ color: rgb(40, 88, 126);
/* oklch */ color: oklch(44.5% 0.082 245.1);
Tailwind
colors: {
  custom: {
    50: '#6c87a3',
    500: '#28587e',
    950: '#000000',
  },
}
SCSS
$custom: #28587e;
$custom-light: #6c87a3;
$custom-dark: #000000;
JSON
{
  "hex": "#28587e",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 126
  },
  "hsl": {
    "h": 206.512,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.08153,
    "h": 245.1
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#28587E
secondary
#AF7C53
accent
#8C4DDB
background
#F6F8FA
surface
#ECEFF4
border
#C7CACE
text
#070B0F
muted
#7A7C7F

Preview Lab

Preview with #28587E

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

Preview Lab → · Contrast checker → · Palette generator →

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