#182D8E#182D8E

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

Color values

HEX#182D8E
RGBrgb(24, 45, 142)
HSLhsl(229, 71%, 33%)
HSVhsv(229, 83%, 56%)
CMYKcmyk(83.1%, 68.3%, 0%, 44.3%)
CIE-LABlab(23.75, 29.90, -55.61)
CIE-LCHlch(23.75, 63.14, 298.27°)
OKLaboklab(35.45% -0.0076 -0.1611)
OKLCHoklch(35.45% 0.161 267.3)
XYZxyz(6.1959, 4.0232, 26.0360)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D8E #8E7918
analogous
#18688E #182D8E #3E188E
triadic
#182D8E #8E182D #2D8E18
tetradic
#182D8E #8E1868 #8E7918 #188E3E
square
#182D8E #8E1868 #8E7918 #188E3E
split-complementary
#182D8E #8E3E18 #688E18
monochromatic
#060C25 #0F1C5A #182D8E #213EC2 #415DDF

Accessibility & contrast

On white

11.64
#182D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182D8E
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D8E#FFFFFF#000000##FFFFFF
##182D8E1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182d8e;
/* rgb */ color: rgb(24, 45, 142);
/* oklch */ color: oklch(35.4% 0.161 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c66b0',
    500: '#182d8e',
    950: '#000000',
  },
}
SCSS
$custom: #182d8e;
$custom-light: #6c66b0;
$custom-dark: #000000;
JSON
{
  "hex": "#182d8e",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 142
  },
  "hsl": {
    "h": 229.322,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35446,
    "c": 0.16125,
    "h": 267.3
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#182D8E
secondary
#C0A942
accent
#CE3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #182D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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