#182A45#182A45

#182A45 is a dark, muted blue. Relative luminance 0.023; OKLCH L 28.4% C 0.055 H 258.3°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#182A45
RGBrgb(24, 42, 69)
HSLhsl(216, 48%, 18%)
HSVhsv(216, 65%, 27%)
CMYKcmyk(65.2%, 39.1%, 0%, 72.9%)
CIE-LABlab(16.89, 2.40, -19.18)
CIE-LCHlch(16.89, 19.33, 277.13°)
OKLaboklab(28.42% -0.0112 -0.0542)
OKLCHoklch(28.42% 0.055 258.3)
XYZxyz(2.2785, 2.2796, 5.9490)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A45 #453318
analogous
#184045 #182A45 #1C1845
triadic
#182A45 #45182A #2A4518
tetradic
#182A45 #451840 #453318 #18451C
square
#182A45 #451840 #453318 #18451C
split-complementary
#182A45 #451C18 #404518
monochromatic
#080E17 #080E18 #182A45 #284672 #3861A0

Accessibility & contrast

On white

14.42
#182A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182A45
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A45#FFFFFF#000000##FFFFFF
##182A451.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C46
Deuteranopia (green-blind)
#192844
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #182a45;
/* rgb */ color: rgb(24, 42, 69);
/* oklch */ color: oklch(28.4% 0.055 258.3);
Tailwind
colors: {
  custom: {
    50: '#596379',
    500: '#182a45',
    950: '#000000',
  },
}
SCSS
$custom: #182a45;
$custom-light: #596379;
$custom-dark: #000000;
JSON
{
  "hex": "#182a45",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 216,
    "s": 48.387,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28415,
    "c": 0.0554,
    "h": 258.3
  },
  "luminance": 0.0228
}

Semantic roles & 50–950 ramp

primary
#182A45
secondary
#7C633D
accent
#A250D8
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#040509
muted
#79797B

Preview Lab

Preview with #182A45

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

Preview Lab → · Contrast checker → · Palette generator →

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