#28404F#28404F

#28404F is a dark, muted cyan. Relative luminance 0.047; OKLCH L 35.9% C 0.040 H 236.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#28404F
RGBrgb(40, 64, 79)
HSLhsl(203, 33%, 23%)
HSVhsv(203, 49%, 31%)
CMYKcmyk(49.4%, 19%, 0%, 69%)
CIE-LABlab(25.81, -4.58, -11.97)
CIE-LCHlch(25.81, 12.82, 249.05°)
OKLaboklab(35.85% -0.0217 -0.0331)
OKLCHoklch(35.85% 0.04 236.8)
XYZxyz(4.1193, 4.6821, 8.0823)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28404F #4F3728
analogous
#284F4A #28404F #282C4F
triadic
#28404F #4F2840 #404F28
tetradic
#28404F #4A284F #4F3728 #2C4F28
square
#28404F #4A284F #4F3728 #2C4F28
split-complementary
#28404F #4F282C #4F4A28
monochromatic
#0A1014 #131F26 #28404F #3D6178 #5182A0

Accessibility & contrast

On white

10.84
#28404F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#28404F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28404F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28404F#FFFFFF#000000##FFFFFF
##28404F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394050
Deuteranopia (green-blind)
#343B4F
Tritanopia (blue-blind)
#174445
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28404f;
/* rgb */ color: rgb(40, 64, 79);
/* oklch */ color: oklch(35.9% 0.040 236.8);
Tailwind
colors: {
  custom: {
    50: '#647480',
    500: '#28404f',
    950: '#000000',
  },
}
SCSS
$custom: #28404f;
$custom-light: #647480;
$custom-dark: #000000;
JSON
{
  "hex": "#28404f",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 79
  },
  "hsl": {
    "h": 203.077,
    "s": 32.773,
    "l": 23.333
  },
  "oklch": {
    "l": 0.3585,
    "c": 0.0396,
    "h": 236.8
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#28404F
secondary
#826451
accent
#885FC9
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#05080A
muted
#7A7B7C

Preview Lab

Preview with #28404F

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

Preview Lab → · Contrast checker → · Palette generator →

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