#182D4B#182D4B

#182D4B is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.6% C 0.061 H 257.4°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#182D4B
RGBrgb(24, 45, 75)
HSLhsl(215, 52%, 19%)
HSVhsv(215, 68%, 29%)
CMYKcmyk(68%, 40%, 0%, 70.6%)
CIE-LABlab(18.27, 2.64, -21.10)
CIE-LCHlch(18.27, 21.26, 277.13°)
OKLaboklab(29.61% -0.0133 -0.0598)
OKLCHoklch(29.61% 0.061 257.4)
XYZxyz(2.5846, 2.5787, 7.0168)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D4B #4B3618
analogous
#18474B #182D4B #1D184B
triadic
#182D4B #4B182D #2D4B18
tetradic
#182D4B #4B1847 #4B3618 #184B1D
square
#182D4B #4B1847 #4B3618 #184B1D
split-complementary
#182D4B #4B1D18 #474B18
monochromatic
#070E17 #09111D #182D4B #274979 #3665A8

Accessibility & contrast

On white

13.85
#182D4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D4B
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D4B#FFFFFF#000000##FFFFFF
##182D4B1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182d4b;
/* rgb */ color: rgb(24, 45, 75);
/* oklch */ color: oklch(29.6% 0.061 257.4);
Tailwind
colors: {
  custom: {
    50: '#5a657d',
    500: '#182d4b',
    950: '#000000',
  },
}
SCSS
$custom: #182d4b;
$custom-light: #5a657d;
$custom-dark: #000000;
JSON
{
  "hex": "#182d4b",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 75
  },
  "hsl": {
    "h": 215.294,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.06127,
    "h": 257.4
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#182D4B
secondary
#82653D
accent
#A04DDB
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #182D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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