#28587B#28587B

#28587B is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.078 H 242.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#28587B
RGBrgb(40, 88, 123)
HSLhsl(205, 51%, 32%)
HSVhsv(205, 67%, 48%)
CMYKcmyk(67.5%, 28.5%, 0%, 51.8%)
CIE-LABlab(35.71, -4.34, -24.58)
CIE-LCHlch(35.71, 24.96, 259.99°)
OKLaboklab(44.36% -0.0354 -0.0692)
OKLCHoklch(44.36% 0.078 242.9)
XYZxyz(7.9386, 8.8598, 20.0268)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28587B #7B4B28
analogous
#287B75 #28587B #282F7B
triadic
#28587B #7B2858 #587B28
tetradic
#28587B #75287B #7B4B28 #2F7B28
square
#28587B #75287B #7B4B28 #2F7B28
split-complementary
#28587B #7B282F #7B7528
monochromatic
#0A161F #19374D #28587B #3779A9 #5698C8

Accessibility & contrast

On white

7.58
#28587B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#28587B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28587B
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28587B#FFFFFF#000000##FFFFFF
##28587B1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597D
Deuteranopia (green-blind)
#3D507A
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #28587b;
/* rgb */ color: rgb(40, 88, 123);
/* oklch */ color: oklch(44.4% 0.078 242.9);
Tailwind
colors: {
  custom: {
    50: '#6b87a1',
    500: '#28587b',
    950: '#000000',
  },
}
SCSS
$custom: #28587b;
$custom-light: #6b87a1;
$custom-dark: #000000;
JSON
{
  "hex": "#28587b",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 123
  },
  "hsl": {
    "h": 205.301,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4436,
    "c": 0.07776,
    "h": 242.9
  },
  "luminance": 0.08861
}

Semantic roles & 50–950 ramp

primary
#28587B
secondary
#AD7852
accent
#894DDA
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0F
muted
#7A7C7E

Preview Lab

Preview with #28587B

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

Preview Lab → · Contrast checker → · Palette generator →

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