#182B4C#182B4C

#182B4C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.2% C 0.065 H 260.7°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#182B4C
RGBrgb(24, 43, 76)
HSLhsl(218, 52%, 20%)
HSVhsv(218, 68%, 30%)
CMYKcmyk(68.4%, 43.4%, 0%, 70.2%)
CIE-LABlab(17.66, 4.49, -22.74)
CIE-LCHlch(17.66, 23.18, 281.16°)
OKLaboklab(29.15% -0.0105 -0.0646)
OKLCHoklch(29.15% 0.065 260.7)
XYZxyz(2.5446, 2.4435, 7.1736)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B4C #4C3918
analogous
#18454C #182B4C #1F184C
triadic
#182B4C #4C182B #2B4C18
tetradic
#182B4C #4C1845 #4C3918 #184C1F
square
#182B4C #4C1845 #4C3918 #184C1F
split-complementary
#182B4C #4C1F18 #454C18
monochromatic
#070D17 #09111D #182B4C #27457B #3560A9

Accessibility & contrast

On white

14.11
#182B4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#182B4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B4C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B4C#FFFFFF#000000##FFFFFF
##182B4C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182b4c;
/* rgb */ color: rgb(24, 43, 76);
/* oklch */ color: oklch(29.2% 0.065 260.7);
Tailwind
colors: {
  custom: {
    50: '#5b647e',
    500: '#182b4c',
    950: '#000000',
  },
}
SCSS
$custom: #182b4c;
$custom-light: #5b647e;
$custom-dark: #000000;
JSON
{
  "hex": "#182b4c",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 76
  },
  "hsl": {
    "h": 218.077,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29155,
    "c": 0.06549,
    "h": 260.7
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#182B4C
secondary
#83693D
accent
#A74CDB
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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