#182D6A#182D6A

#182D6A is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.110 H 266.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#182D6A
RGBrgb(24, 45, 106)
HSLhsl(225, 63%, 25%)
HSVhsv(225, 77%, 42%)
CMYKcmyk(77.4%, 57.5%, 0%, 58.4%)
CIE-LABlab(20.48, 15.43, -38.11)
CIE-LCHlch(20.48, 41.11, 292.04°)
OKLaboklab(32.01% -0.0077 -0.1098)
OKLCHoklch(32.01% 0.11 266)
XYZxyz(3.9157, 3.1112, 14.0270)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D6A #6A5518
analogous
#18566A #182D6A #2C186A
triadic
#182D6A #6A182D #2D6A18
tetradic
#182D6A #6A1856 #6A5518 #186A2C
square
#182D6A #6A1856 #6A5518 #186A2C
split-complementary
#182D6A #6A2C18 #566A18
monochromatic
#060B19 #0D1838 #182D6A #23429C #2F57CE

Accessibility & contrast

On white

12.94
#182D6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#182D6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D6A
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D6A#FFFFFF#000000##FFFFFF
##182D6A1.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182d6a;
/* rgb */ color: rgb(24, 45, 106);
/* oklch */ color: oklch(32.0% 0.110 266.0);
Tailwind
colors: {
  custom: {
    50: '#626595',
    500: '#182d6a',
    950: '#000000',
  },
}
SCSS
$custom: #182d6a;
$custom-light: #626595;
$custom-dark: #000000;
JSON
{
  "hex": "#182d6a",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 224.634,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32014,
    "c": 0.11004,
    "h": 266
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#182D6A
secondary
#A0873E
accent
#BC42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #182D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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