#182D4D#182D4D

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

Color values

HEX#182D4D
RGBrgb(24, 45, 77)
HSLhsl(216, 52%, 20%)
HSVhsv(216, 69%, 30%)
CMYKcmyk(68.8%, 41.6%, 0%, 69.8%)
CIE-LABlab(18.39, 3.45, -22.26)
CIE-LCHlch(18.39, 22.52, 278.80°)
OKLaboklab(29.74% -0.0128 -0.0632)
OKLCHoklch(29.74% 0.064 258.6)
XYZxyz(2.6542, 2.6065, 7.3830)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D4D #4D3818
analogous
#18484D #182D4D #1D184D
triadic
#182D4D #4D182D #2D4D18
tetradic
#182D4D #4D1848 #4D3818 #184D1D
square
#182D4D #4D1848 #4D3818 #184D1D
split-complementary
#182D4D #4D1D18 #484D18
monochromatic
#070E17 #09121E #182D4D #27487C #3564AA

Accessibility & contrast

On white

13.80
#182D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D4D
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D4D#FFFFFF#000000##FFFFFF
##182D4D1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304E
Deuteranopia (green-blind)
#182B4C
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #182d4d;
/* rgb */ color: rgb(24, 45, 77);
/* oklch */ color: oklch(29.7% 0.064 258.6);
Tailwind
colors: {
  custom: {
    50: '#5b657f',
    500: '#182d4d',
    950: '#000000',
  },
}
SCSS
$custom: #182d4d;
$custom-light: #5b657f;
$custom-dark: #000000;
JSON
{
  "hex": "#182d4d",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 216.226,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29744,
    "c": 0.06447,
    "h": 258.6
  },
  "luminance": 0.02607
}

Semantic roles & 50–950 ramp

primary
#182D4D
secondary
#84683D
accent
#A34CDC
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #182D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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