#182B81#182B81

#182B81 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.146 H 267.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#182B81
RGBrgb(24, 43, 129)
HSLhsl(229, 69%, 30%)
HSVhsv(229, 81%, 51%)
CMYKcmyk(81.4%, 66.7%, 0%, 49.4%)
CIE-LABlab(21.97, 26.18, -50.40)
CIE-LCHlch(21.97, 56.79, 297.45°)
OKLaboklab(33.75% -0.0059 -0.1459)
OKLCHoklch(33.75% 0.146 267.7)
XYZxyz(5.2016, 3.5063, 21.1673)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B81 #816E18
analogous
#185F81 #182B81 #3A1881
triadic
#182B81 #81182B #2B8118
tetradic
#182B81 #81185F #816E18 #18813A
square
#182B81 #81185F #816E18 #18813A
split-complementary
#182B81 #813A18 #5F8118
monochromatic
#05091A #0E1A4D #182B81 #223CB5 #3956DA

Accessibility & contrast

On white

12.34
#182B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B81
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B81#FFFFFF#000000##FFFFFF
##182B811.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A84
Deuteranopia (green-blind)
#00307F
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182b81;
/* rgb */ color: rgb(24, 43, 129);
/* oklch */ color: oklch(33.8% 0.146 267.7);
Tailwind
colors: {
  custom: {
    50: '#6864a6',
    500: '#182b81',
    950: '#000000',
  },
}
SCSS
$custom: #182b81;
$custom-light: #6864a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182b81",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 229.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.14598,
    "h": 267.7
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#182B81
secondary
#B5A040
accent
#CC3CEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B81

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

Preview Lab → · Contrast checker → · Palette generator →

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