#182A42#182A42

#182A42 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.051 H 256.0°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#182A42
RGBrgb(24, 42, 66)
HSLhsl(214, 47%, 18%)
HSVhsv(214, 64%, 26%)
CMYKcmyk(63.6%, 36.4%, 0%, 74.1%)
CIE-LABlab(16.72, 1.21, -17.39)
CIE-LCHlch(16.72, 17.44, 273.99°)
OKLaboklab(28.22% -0.0122 -0.049)
OKLCHoklch(28.22% 0.051 256)
XYZxyz(2.1877, 2.2433, 5.4709)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A42 #423018
analogous
#183F42 #182A42 #1B1842
triadic
#182A42 #42182A #2A4218
tetradic
#182A42 #42183F #423018 #18421B
square
#182A42 #42183F #423018 #18421B
split-complementary
#182A42 #421B18 #3F4218
monochromatic
#080E16 #080E16 #182A42 #28476F #39639C

Accessibility & contrast

On white

14.50
#182A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#182A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A42
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A42#FFFFFF#000000##FFFFFF
##182A421.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#1B2742
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182a42;
/* rgb */ color: rgb(24, 42, 66);
/* oklch */ color: oklch(28.2% 0.051 256.0);
Tailwind
colors: {
  custom: {
    50: '#596376',
    500: '#182a42',
    950: '#000000',
  },
}
SCSS
$custom: #182a42;
$custom-light: #596376;
$custom-dark: #000000;
JSON
{
  "hex": "#182a42",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 214.286,
    "s": 46.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2822,
    "c": 0.05054,
    "h": 256
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#182A42
secondary
#795F3D
accent
#9D51D6
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040508
muted
#79797B

Preview Lab

Preview with #182A42

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

Preview Lab → · Contrast checker → · Palette generator →

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