#182D8D#182D8D

#182D8D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.160 H 267.3°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#182D8D
RGBrgb(24, 45, 141)
HSLhsl(229, 71%, 32%)
HSVhsv(229, 83%, 55%)
CMYKcmyk(83%, 68.1%, 0%, 44.7%)
CIE-LABlab(23.65, 29.51, -55.15)
CIE-LCHlch(23.65, 62.55, 298.16°)
OKLaboklab(35.34% -0.0076 -0.1597)
OKLCHoklch(35.34% 0.16 267.3)
XYZxyz(6.1211, 3.9933, 25.6423)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D8D #8D7818
analogous
#18678D #182D8D #3E188D
triadic
#182D8D #8D182D #2D8D18
tetradic
#182D8D #8D1867 #8D7818 #188D3E
square
#182D8D #8D1867 #8D7818 #188D3E
split-complementary
#182D8D #8D3E18 #678D18
monochromatic
#060C24 #0F1C59 #182D8D #213EC1 #415DDF

Accessibility & contrast

On white

11.67
#182D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#182D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D8D
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D8D#FFFFFF#000000##FFFFFF
##182D8D1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182d8d;
/* rgb */ color: rgb(24, 45, 141);
/* oklch */ color: oklch(35.3% 0.160 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c66af',
    500: '#182d8d',
    950: '#000000',
  },
}
SCSS
$custom: #182d8d;
$custom-light: #6c66af;
$custom-dark: #000000;
JSON
{
  "hex": "#182d8d",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 229.231,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.15991,
    "h": 267.3
  },
  "luminance": 0.03994
}

Semantic roles & 50–950 ramp

primary
#182D8D
secondary
#BFA942
accent
#CD3AEE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #182D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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