#182A40#182A40

#182A40 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.1% C 0.047 H 254.2°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#182A40
RGBrgb(24, 42, 64)
HSLhsl(213, 45%, 17%)
HSVhsv(213, 63%, 25%)
CMYKcmyk(62.5%, 34.4%, 0%, 74.9%)
CIE-LABlab(16.60, 0.43, -16.19)
CIE-LCHlch(16.60, 16.20, 271.53°)
OKLaboklab(28.1% -0.0129 -0.0455)
OKLCHoklch(28.1% 0.047 254.2)
XYZxyz(2.1297, 2.2201, 5.1658)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A40 #402E18
analogous
#183E40 #182A40 #1A1840
triadic
#182A40 #40182A #2A4018
tetradic
#182A40 #40183E #402E18 #18401A
square
#182A40 #40183E #402E18 #18401A
split-complementary
#182A40 #401A18 #3E4018
monochromatic
#080F16 #080F16 #182A40 #29476D #396499

Accessibility & contrast

On white

14.54
#182A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#182A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A40
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A40#FFFFFF#000000##FFFFFF
##182A401.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B41
Deuteranopia (green-blind)
#1C2740
Tritanopia (blue-blind)
#022F32
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182a40;
/* rgb */ color: rgb(24, 42, 64);
/* oklch */ color: oklch(28.1% 0.047 254.2);
Tailwind
colors: {
  custom: {
    50: '#586375',
    500: '#182a40',
    950: '#000000',
  },
}
SCSS
$custom: #182a40;
$custom-light: #586375;
$custom-dark: #000000;
JSON
{
  "hex": "#182a40",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 213,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.28095,
    "c": 0.04734,
    "h": 254.2
  },
  "luminance": 0.0222
}

Semantic roles & 50–950 ramp

primary
#182A40
secondary
#775D3D
accent
#9A53D5
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #182A40

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

Preview Lab → · Contrast checker → · Palette generator →

#182A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva