#182A4D#182A4D

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

Color values

HEX#182A4D
RGBrgb(24, 42, 77)
HSLhsl(220, 52%, 20%)
HSVhsv(220, 69%, 30%)
CMYKcmyk(68.8%, 45.5%, 0%, 69.8%)
CIE-LABlab(17.39, 5.62, -23.84)
CIE-LCHlch(17.39, 24.50, 283.26°)
OKLaboklab(28.97% -0.0091 -0.0679)
OKLCHoklch(28.97% 0.068 262.4)
XYZxyz(2.5437, 2.3857, 7.3462)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A4D #4D3B18
analogous
#18444D #182A4D #21184D
triadic
#182A4D #4D182A #2A4D18
tetradic
#182A4D #4D1844 #4D3B18 #184D21
square
#182A4D #4D1844 #4D3B18 #184D21
split-complementary
#182A4D #4D2118 #444D18
monochromatic
#070D17 #09111E #182A4D #27437C #355DAA

Accessibility & contrast

On white

14.22
#182A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A4D
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A4D#FFFFFF#000000##FFFFFF
##182A4D1.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4E
Deuteranopia (green-blind)
#13284C
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182a4d;
/* rgb */ color: rgb(24, 42, 77);
/* oklch */ color: oklch(29.0% 0.068 262.4);
Tailwind
colors: {
  custom: {
    50: '#5b637f',
    500: '#182a4d',
    950: '#000000',
  },
}
SCSS
$custom: #182a4d;
$custom-light: #5b637f;
$custom-dark: #000000;
JSON
{
  "hex": "#182a4d",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 77
  },
  "hsl": {
    "h": 219.623,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.06848,
    "h": 262.4
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#182A4D
secondary
#846C3D
accent
#AB4CDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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