#182A3F#182A3F

#182A3F is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.0% C 0.046 H 253.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#182A3F
RGBrgb(24, 42, 63)
HSLhsl(212, 45%, 17%)
HSVhsv(212, 62%, 25%)
CMYKcmyk(61.9%, 33.3%, 0%, 75.3%)
CIE-LABlab(16.55, 0.05, -15.59)
CIE-LCHlch(16.55, 15.59, 270.17°)
OKLaboklab(28.03% -0.0133 -0.0438)
OKLCHoklch(28.03% 0.046 253.1)
XYZxyz(2.1015, 2.2088, 5.0173)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A3F #3F2D18
analogous
#183E3F #182A3F #1A183F
triadic
#182A3F #3F182A #2A3F18
tetradic
#182A3F #3F183E #3F2D18 #183F1A
square
#182A3F #3F183E #3F2D18 #183F1A
split-complementary
#182A3F #3F1A18 #3E3F18
monochromatic
#080F16 #080F16 #182A3F #29486B #3A6598

Accessibility & contrast

On white

14.57
#182A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A3F
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A3F#FFFFFF#000000##FFFFFF
##182A3F1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#1D273F
Tritanopia (blue-blind)
#032F31
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #182a3f;
/* rgb */ color: rgb(24, 42, 63);
/* oklch */ color: oklch(28.0% 0.046 253.1);
Tailwind
colors: {
  custom: {
    50: '#586374',
    500: '#182a3f',
    950: '#000000',
  },
}
SCSS
$custom: #182a3f;
$custom-light: #586374;
$custom-dark: #000000;
JSON
{
  "hex": "#182a3f",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 63
  },
  "hsl": {
    "h": 212.308,
    "s": 44.828,
    "l": 17.059
  },
  "oklch": {
    "l": 0.28033,
    "c": 0.04577,
    "h": 253.1
  },
  "luminance": 0.02209
}

Semantic roles & 50–950 ramp

primary
#182A3F
secondary
#755C3D
accent
#9953D5
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030508
muted
#78797B

Preview Lab

Preview with #182A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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