#182E81#182E81

#182E81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.142 H 266.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#182E81
RGBrgb(24, 46, 129)
HSLhsl(227, 69%, 30%)
HSVhsv(227, 81%, 51%)
CMYKcmyk(81.4%, 64.3%, 0%, 49.4%)
CIE-LABlab(22.77, 24.10, -49.09)
CIE-LCHlch(22.77, 54.69, 296.15°)
OKLaboklab(34.34% -0.0077 -0.142)
OKLCHoklch(34.34% 0.142 266.9)
XYZxyz(5.3147, 3.7325, 21.2050)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E81 #816B18
analogous
#186281 #182E81 #371881
triadic
#182E81 #81182E #2E8118
tetradic
#182E81 #811862 #816B18 #188137
square
#182E81 #811862 #816B18 #188137
split-complementary
#182E81 #813718 #628118
monochromatic
#05091A #0E1C4D #182E81 #2240B5 #395BDA

Accessibility & contrast

On white

12.02
#182E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#182E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E81
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E81#FFFFFF#000000##FFFFFF
##182E811.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182e81;
/* rgb */ color: rgb(24, 46, 129);
/* oklch */ color: oklch(34.3% 0.142 266.9);
Tailwind
colors: {
  custom: {
    50: '#6866a6',
    500: '#182e81',
    950: '#000000',
  },
}
SCSS
$custom: #182e81;
$custom-light: #6866a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182e81",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 227.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.14221,
    "h": 266.9
  },
  "luminance": 0.03733
}

Semantic roles & 50–950 ramp

primary
#182E81
secondary
#B59D40
accent
#C73CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182E81

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

Preview Lab → · Contrast checker → · Palette generator →

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