#182A80#182A80

#182A80 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.146 H 267.9°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#182A80
RGBrgb(24, 42, 128)
HSLhsl(230, 68%, 30%)
HSVhsv(230, 81%, 50%)
CMYKcmyk(81.3%, 67.2%, 0%, 49.8%)
CIE-LABlab(21.61, 26.48, -50.36)
CIE-LCHlch(21.61, 56.89, 297.73°)
OKLaboklab(33.46% -0.0053 -0.1457)
OKLCHoklch(33.46% 0.146 267.9)
XYZxyz(5.0996, 3.4080, 20.8069)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A80 #806E18
analogous
#185E80 #182A80 #3A1880
triadic
#182A80 #80182A #2A8018
tetradic
#182A80 #80185E #806E18 #18803A
square
#182A80 #80185E #806E18 #18803A
split-complementary
#182A80 #803A18 #5E8018
monochromatic
#05081A #0E194C #182A80 #223BB4 #3955DA

Accessibility & contrast

On white

12.49
#182A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#182A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A80
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A80#FFFFFF#000000##FFFFFF
##182A801.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182a80;
/* rgb */ color: rgb(24, 42, 128);
/* oklch */ color: oklch(33.5% 0.146 267.9);
Tailwind
colors: {
  custom: {
    50: '#6863a6',
    500: '#182a80',
    950: '#000000',
  },
}
SCSS
$custom: #182a80;
$custom-light: #6863a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182a80",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 128
  },
  "hsl": {
    "h": 229.615,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33462,
    "c": 0.14585,
    "h": 267.9
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#182A80
secondary
#B4A040
accent
#CD3DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182A80

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

Preview Lab → · Contrast checker → · Palette generator →

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