#182B4A#182B4A

#182B4A is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.062 H 259.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#182B4A
RGBrgb(24, 43, 74)
HSLhsl(217, 51%, 19%)
HSVhsv(217, 68%, 29%)
CMYKcmyk(67.6%, 41.9%, 0%, 71%)
CIE-LABlab(17.53, 3.68, -21.58)
CIE-LCHlch(17.53, 21.89, 279.67°)
OKLaboklab(29.02% -0.0111 -0.0612)
OKLCHoklch(29.02% 0.062 259.7)
XYZxyz(2.4762, 2.4161, 6.8131)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B4A #4A3718
analogous
#18444A #182B4A #1E184A
triadic
#182B4A #4A182B #2B4A18
tetradic
#182B4A #4A1844 #4A3718 #184A1E
square
#182B4A #4A1844 #4A3718 #184A1E
split-complementary
#182B4A #4A1E18 #444A18
monochromatic
#070D17 #09101C #182B4A #274678 #3661A6

Accessibility & contrast

On white

14.16
#182B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#182B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B4A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B4A#FFFFFF#000000##FFFFFF
##182B4A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2E4B
Deuteranopia (green-blind)
#172949
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182b4a;
/* rgb */ color: rgb(24, 43, 74);
/* oklch */ color: oklch(29.0% 0.062 259.7);
Tailwind
colors: {
  custom: {
    50: '#5a647c',
    500: '#182b4a',
    950: '#000000',
  },
}
SCSS
$custom: #182b4a;
$custom-light: #5a647c;
$custom-dark: #000000;
JSON
{
  "hex": "#182b4a",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 217.2,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29015,
    "c": 0.06224,
    "h": 259.7
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#182B4A
secondary
#81673D
accent
#A54DDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#040509
muted
#79797B

Preview Lab

Preview with #182B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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