#182C4D#182C4D

#182C4D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.5% C 0.066 H 259.9°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#182C4D
RGBrgb(24, 44, 77)
HSLhsl(217, 52%, 20%)
HSVhsv(217, 69%, 30%)
CMYKcmyk(68.8%, 42.9%, 0%, 69.8%)
CIE-LABlab(18.06, 4.17, -22.79)
CIE-LCHlch(18.06, 23.17, 280.36°)
OKLaboklab(29.48% -0.0115 -0.0648)
OKLCHoklch(29.48% 0.066 259.9)
XYZxyz(2.6165, 2.5311, 7.3704)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C4D #4D3918
analogous
#18474D #182C4D #1E184D
triadic
#182C4D #4D182C #2C4D18
tetradic
#182C4D #4D1847 #4D3918 #184D1E
square
#182C4D #4D1847 #4D3918 #184D1E
split-complementary
#182C4D #4D1E18 #474D18
monochromatic
#070D17 #09111E #182C4D #27477C #3561AA

Accessibility & contrast

On white

13.94
#182C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C4D
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C4D#FFFFFF#000000##FFFFFF
##182C4D1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4E
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182c4d;
/* rgb */ color: rgb(24, 44, 77);
/* oklch */ color: oklch(29.5% 0.066 259.9);
Tailwind
colors: {
  custom: {
    50: '#5b647f',
    500: '#182c4d',
    950: '#000000',
  },
}
SCSS
$custom: #182c4d;
$custom-light: #5b647f;
$custom-dark: #000000;
JSON
{
  "hex": "#182c4d",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 217.358,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29484,
    "c": 0.06578,
    "h": 259.9
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#182C4D
secondary
#84693D
accent
#A64CDC
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #182C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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