#182D81#182D81

#182D81 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.1% C 0.143 H 267.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#182D81
RGBrgb(24, 45, 129)
HSLhsl(228, 69%, 30%)
HSVhsv(228, 81%, 51%)
CMYKcmyk(81.4%, 65.1%, 0%, 49.4%)
CIE-LABlab(22.50, 24.80, -49.53)
CIE-LCHlch(22.50, 55.39, 296.59°)
OKLaboklab(34.14% -0.0071 -0.1433)
OKLCHoklch(34.14% 0.143 267.2)
XYZxyz(5.2761, 3.6553, 21.1921)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D81 #816C18
analogous
#186181 #182D81 #381881
triadic
#182D81 #81182D #2D8118
tetradic
#182D81 #811861 #816C18 #188138
square
#182D81 #811861 #816C18 #188138
split-complementary
#182D81 #813818 #618118
monochromatic
#05091A #0E1B4D #182D81 #223FB5 #3959DA

Accessibility & contrast

On white

12.13
#182D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D81
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D81#FFFFFF#000000##FFFFFF
##182D811.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #182d81;
/* rgb */ color: rgb(24, 45, 129);
/* oklch */ color: oklch(34.1% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#6865a6',
    500: '#182d81',
    950: '#000000',
  },
}
SCSS
$custom: #182d81;
$custom-light: #6865a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182d81",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 228,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.34145,
    "c": 0.14348,
    "h": 267.2
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#182D81
secondary
#B59E40
accent
#C83CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182D81

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

Preview Lab → · Contrast checker → · Palette generator →

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