#28404B#28404B

#28404B is a dark, muted cyan. Relative luminance 0.046; OKLCH L 35.7% C 0.035 H 228.5°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#28404B
RGBrgb(40, 64, 75)
HSLhsl(199, 30%, 23%)
HSVhsv(199, 47%, 29%)
CMYKcmyk(46.7%, 14.7%, 0%, 70.6%)
CIE-LABlab(25.64, -5.89, -9.60)
CIE-LCHlch(25.64, 11.26, 238.48°)
OKLaboklab(35.66% -0.0234 -0.0265)
OKLCHoklch(35.66% 0.035 228.5)
XYZxyz(3.9780, 4.6256, 7.3385)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28404B #4B3328
analogous
#284B44 #28404B #282E4B
triadic
#28404B #4B2840 #404B28
tetradic
#28404B #44284B #4B3328 #2E4B28
square
#28404B #44284B #4B3328 #2E4B28
split-complementary
#28404B #4B282E #4B4428
monochromatic
#0B1114 #131E23 #28404B #3D6273 #53849B

Accessibility & contrast

On white

10.91
#28404B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#28404B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28404B
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28404B#FFFFFF#000000##FFFFFF
##28404B1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3F4C
Deuteranopia (green-blind)
#353B4B
Tritanopia (blue-blind)
#1A4343
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28404b;
/* rgb */ color: rgb(40, 64, 75);
/* oklch */ color: oklch(35.7% 0.035 228.5);
Tailwind
colors: {
  custom: {
    50: '#64747d',
    500: '#28404b',
    950: '#000000',
  },
}
SCSS
$custom: #28404b;
$custom-light: #64747d;
$custom-dark: #000000;
JSON
{
  "hex": "#28404b",
  "rgb": {
    "r": 40,
    "g": 64,
    "b": 75
  },
  "hsl": {
    "h": 198.857,
    "s": 30.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.3566,
    "c": 0.03534,
    "h": 228.5
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#28404B
secondary
#7D5F51
accent
#8161C7
background
#F6F7F7
surface
#EBEDEE
border
#C6C8C9
text
#050809
muted
#7A7B7B

Preview Lab

Preview with #28404B

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

Preview Lab → · Contrast checker → · Palette generator →

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