#182228#182228

#182228 is a very dark, near-neutral cyan. Relative luminance 0.015; OKLCH L 24.5% C 0.018 H 234.8°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#182228
RGBrgb(24, 34, 40)
HSLhsl(203, 25%, 13%)
HSVhsv(203, 40%, 16%)
CMYKcmyk(40%, 15%, 0%, 84.3%)
CIE-LABlab(12.55, -2.54, -5.45)
CIE-LCHlch(12.55, 6.01, 245.01°)
OKLaboklab(24.51% -0.0105 -0.0149)
OKLCHoklch(24.51% 0.018 234.8)
XYZxyz(1.3316, 1.4914, 2.2248)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182228 #281E18
analogous
#182826 #182228 #181A28
triadic
#182228 #281822 #222818
tetradic
#182228 #261828 #281E18 #1A2818
square
#182228 #261828 #281E18 #1A2818
split-complementary
#182228 #28181A #282618
monochromatic
#0B1013 #0B1013 #182228 #2F434E #466374

Accessibility & contrast

On white

16.18
#182228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#182228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182228
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182228#FFFFFF#000000##FFFFFF
##1822281.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2228
Deuteranopia (green-blind)
#1D2028
Tritanopia (blue-blind)
#132424
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #182228;
/* rgb */ color: rgb(24, 34, 40);
/* oklch */ color: oklch(24.5% 0.018 234.8);
Tailwind
colors: {
  custom: {
    50: '#555c61',
    500: '#182228',
    950: '#000000',
  },
}
SCSS
$custom: #182228;
$custom-light: #555c61;
$custom-dark: #000000;
JSON
{
  "hex": "#182228",
  "rgb": {
    "r": 24,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 202.5,
    "s": 25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.24512,
    "c": 0.01825,
    "h": 234.8
  },
  "luminance": 0.01491
}

Semantic roles & 50–950 ramp

primary
#182228
secondary
#5C4A40
accent
#8966C1
background
#F4F5F5
surface
#E8E9E9
border
#C4C5C5
text
#030405
muted
#787979

Preview Lab

Preview with #182228

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

Preview Lab → · Contrast checker → · Palette generator →

#182228 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva