#182A4C#182A4C

#182A4C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 28.9% C 0.067 H 262.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#182A4C
RGBrgb(24, 42, 76)
HSLhsl(219, 52%, 20%)
HSVhsv(219, 68%, 30%)
CMYKcmyk(68.4%, 44.7%, 0%, 70.2%)
CIE-LABlab(17.33, 5.21, -23.27)
CIE-LCHlch(17.33, 23.85, 282.63°)
OKLaboklab(28.9% -0.0093 -0.0662)
OKLCHoklch(28.9% 0.067 262)
XYZxyz(2.5087, 2.3717, 7.1617)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A4C #4C3A18
analogous
#18444C #182A4C #20184C
triadic
#182A4C #4C182A #2A4C18
tetradic
#182A4C #4C1844 #4C3A18 #184C20
square
#182A4C #4C1844 #4C3A18 #184C20
split-complementary
#182A4C #4C2018 #444C18
monochromatic
#070D17 #09101D #182A4C #27447B #355DA9

Accessibility & contrast

On white

14.24
#182A4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A4C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A4C#FFFFFF#000000##FFFFFF
##182A4C1.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2D4D
Deuteranopia (green-blind)
#14284B
Tritanopia (blue-blind)
#003237
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #182a4c;
/* rgb */ color: rgb(24, 42, 76);
/* oklch */ color: oklch(28.9% 0.067 262.0);
Tailwind
colors: {
  custom: {
    50: '#5b637e',
    500: '#182a4c',
    950: '#000000',
  },
}
SCSS
$custom: #182a4c;
$custom-light: #5b637e;
$custom-dark: #000000;
JSON
{
  "hex": "#182a4c",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 76
  },
  "hsl": {
    "h": 219.231,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28897,
    "c": 0.06685,
    "h": 262
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#182A4C
secondary
#836B3D
accent
#AA4CDB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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