#182A47#182A47

#182A47 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.5% C 0.059 H 259.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#182A47
RGBrgb(24, 42, 71)
HSLhsl(217, 49%, 19%)
HSVhsv(217, 66%, 28%)
CMYKcmyk(66.2%, 40.8%, 0%, 72.2%)
CIE-LABlab(17.01, 3.20, -20.36)
CIE-LCHlch(17.01, 20.61, 278.92°)
OKLaboklab(28.55% -0.0106 -0.0577)
OKLCHoklch(28.55% 0.059 259.5)
XYZxyz(2.3416, 2.3048, 6.2815)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A47 #473518
analogous
#184147 #182A47 #1D1847
triadic
#182A47 #47182A #2A4718
tetradic
#182A47 #471841 #473518 #18471D
square
#182A47 #471841 #473518 #18471D
split-complementary
#182A47 #471D18 #414718
monochromatic
#080E17 #090F19 #182A47 #274575 #3760A2

Accessibility & contrast

On white

14.37
#182A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#182A47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A47
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A47#FFFFFF#000000##FFFFFF
##182A471.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C48
Deuteranopia (green-blind)
#182846
Tritanopia (blue-blind)
#003135
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182a47;
/* rgb */ color: rgb(24, 42, 71);
/* oklch */ color: oklch(28.5% 0.059 259.5);
Tailwind
colors: {
  custom: {
    50: '#5a637a',
    500: '#182a47',
    950: '#000000',
  },
}
SCSS
$custom: #182a47;
$custom-light: #5a637a;
$custom-dark: #000000;
JSON
{
  "hex": "#182a47",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 71
  },
  "hsl": {
    "h": 217.021,
    "s": 49.474,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28549,
    "c": 0.05866,
    "h": 259.5
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#182A47
secondary
#7E653D
accent
#A44FD9
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #182A47

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

Preview Lab → · Contrast checker → · Palette generator →

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