#182A49#182A49

#182A49 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.7% C 0.062 H 260.6°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#182A49
RGBrgb(24, 42, 73)
HSLhsl(218, 51%, 19%)
HSVhsv(218, 67%, 29%)
CMYKcmyk(67.1%, 42.5%, 0%, 71.4%)
CIE-LABlab(17.14, 4.00, -21.53)
CIE-LCHlch(17.14, 21.90, 280.52°)
OKLaboklab(28.69% -0.0101 -0.0611)
OKLCHoklch(28.69% 0.062 260.6)
XYZxyz(2.4068, 2.3309, 6.6251)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A49 #493718
analogous
#184349 #182A49 #1F1849
triadic
#182A49 #49182A #2A4918
tetradic
#182A49 #491843 #493718 #18491F
square
#182A49 #491843 #493718 #18491F
split-complementary
#182A49 #491F18 #434918
monochromatic
#080D17 #09101B #182A49 #274577 #365FA5

Accessibility & contrast

On white

14.32
#182A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#182A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A49
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A49#FFFFFF#000000##FFFFFF
##182A491.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2D4A
Deuteranopia (green-blind)
#162848
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182a49;
/* rgb */ color: rgb(24, 42, 73);
/* oklch */ color: oklch(28.7% 0.062 260.6);
Tailwind
colors: {
  custom: {
    50: '#5a637c',
    500: '#182a49',
    950: '#000000',
  },
}
SCSS
$custom: #182a49;
$custom-light: #5a637c;
$custom-dark: #000000;
JSON
{
  "hex": "#182a49",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 73
  },
  "hsl": {
    "h": 217.959,
    "s": 50.515,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28685,
    "c": 0.06194,
    "h": 260.6
  },
  "luminance": 0.02331
}

Semantic roles & 50–950 ramp

primary
#182A49
secondary
#80673D
accent
#A74EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #182A49

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

Preview Lab → · Contrast checker → · Palette generator →

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