#182D4C#182D4C

#182D4C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.7% C 0.063 H 258.0°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#182D4C
RGBrgb(24, 45, 76)
HSLhsl(216, 52%, 20%)
HSVhsv(216, 68%, 30%)
CMYKcmyk(68.4%, 40.8%, 0%, 70.2%)
CIE-LABlab(18.33, 3.04, -21.68)
CIE-LCHlch(18.33, 21.89, 277.98°)
OKLaboklab(29.68% -0.013 -0.0615)
OKLCHoklch(29.68% 0.063 258)
XYZxyz(2.6191, 2.5925, 7.1985)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D4C #4C3718
analogous
#18474C #182D4C #1D184C
triadic
#182D4C #4C182D #2D4C18
tetradic
#182D4C #4C1847 #4C3718 #184C1D
square
#182D4C #4C1847 #4C3718 #184C1D
split-complementary
#182D4C #4C1D18 #474C18
monochromatic
#070E17 #09111D #182D4C #27497B #3564A9

Accessibility & contrast

On white

13.83
#182D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#182D4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D4C
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D4C#FFFFFF#000000##FFFFFF
##182D4C1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202F4D
Deuteranopia (green-blind)
#192A4B
Tritanopia (blue-blind)
#003438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182d4c;
/* rgb */ color: rgb(24, 45, 76);
/* oklch */ color: oklch(29.7% 0.063 258.0);
Tailwind
colors: {
  custom: {
    50: '#5b657e',
    500: '#182d4c',
    950: '#000000',
  },
}
SCSS
$custom: #182d4c;
$custom-light: #5b657e;
$custom-dark: #000000;
JSON
{
  "hex": "#182d4c",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 215.769,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29675,
    "c": 0.06287,
    "h": 258
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#182D4C
secondary
#83673D
accent
#A24CDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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