#182A89#182A89

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

Color values

HEX#182A89
RGBrgb(24, 42, 137)
HSLhsl(230, 70%, 32%)
HSVhsv(230, 82%, 54%)
CMYKcmyk(82.5%, 69.3%, 0%, 46.3%)
CIE-LABlab(22.50, 29.98, -54.55)
CIE-LCHlch(22.50, 62.24, 298.79°)
OKLaboklab(34.38% -0.0058 -0.158)
OKLCHoklch(34.38% 0.158 267.9)
XYZxyz(5.7184, 3.6556, 24.0663)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A89 #897718
analogous
#186389 #182A89 #3E1889
triadic
#182A89 #89182A #2A8918
tetradic
#182A89 #891863 #897718 #18893E
square
#182A89 #891863 #897718 #18893E
split-complementary
#182A89 #893E18 #638918
monochromatic
#060A21 #0F1A55 #182A89 #213ABD #3E58DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##182A89#FFFFFF#000000##FFFFFF
##182A891.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)
#003B8C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182a89;
/* rgb */ color: rgb(24, 42, 137);
/* oklch */ color: oklch(34.4% 0.158 267.9);
Tailwind
colors: {
  custom: {
    50: '#6b63ac',
    500: '#182a89',
    950: '#000000',
  },
}
SCSS
$custom: #182a89;
$custom-light: #6b63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182a89",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 230.442,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34383,
    "c": 0.1581,
    "h": 267.9
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#182A89
secondary
#BDA940
accent
#D13BED
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #182A89

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

Preview Lab → · Contrast checker → · Palette generator →

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