#182C4A#182C4A

#182C4A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.3% C 0.061 H 258.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#182C4A
RGBrgb(24, 44, 74)
HSLhsl(216, 51%, 19%)
HSVhsv(216, 68%, 29%)
CMYKcmyk(67.6%, 40.5%, 0%, 71%)
CIE-LABlab(17.87, 2.96, -21.05)
CIE-LCHlch(17.87, 21.25, 277.99°)
OKLaboklab(29.28% -0.0124 -0.0597)
OKLCHoklch(29.28% 0.061 258.3)
XYZxyz(2.5130, 2.4897, 6.8254)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C4A #4A3618
analogous
#18454A #182C4A #1D184A
triadic
#182C4A #4A182C #2C4A18
tetradic
#182C4A #4A1845 #4A3618 #184A1D
square
#182C4A #4A1845 #4A3618 #184A1D
split-complementary
#182C4A #4A1D18 #454A18
monochromatic
#070E17 #09111C #182C4A #274778 #3663A6

Accessibility & contrast

On white

14.02
#182C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#182C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C4A
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C4A#FFFFFF#000000##FFFFFF
##182C4A1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4B
Deuteranopia (green-blind)
#182A49
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182c4a;
/* rgb */ color: rgb(24, 44, 74);
/* oklch */ color: oklch(29.3% 0.061 258.3);
Tailwind
colors: {
  custom: {
    50: '#5a647c',
    500: '#182c4a',
    950: '#000000',
  },
}
SCSS
$custom: #182c4a;
$custom-light: #5a647c;
$custom-dark: #000000;
JSON
{
  "hex": "#182c4a",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 74
  },
  "hsl": {
    "h": 216,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29278,
    "c": 0.06094,
    "h": 258.3
  },
  "luminance": 0.0249
}

Semantic roles & 50–950 ramp

primary
#182C4A
secondary
#81663D
accent
#A24DDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #182C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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