#182080#182080

#182080 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.158 H 269.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#182080
RGBrgb(24, 32, 128)
HSLhsl(235, 68%, 30%)
HSVhsv(235, 81%, 50%)
CMYKcmyk(81.3%, 75%, 0%, 49.8%)
CIE-LABlab(19.16, 33.10, -54.38)
CIE-LCHlch(19.16, 63.66, 301.33°)
OKLaboklab(31.69% -0.0002 -0.1575)
OKLCHoklch(31.69% 0.158 269.9)
XYZxyz(4.7882, 2.7852, 20.7031)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182080 #807818
analogous
#185480 #182080 #441880
triadic
#182080 #801820 #208018
tetradic
#182080 #801854 #807818 #188044
square
#182080 #801854 #807818 #188044
split-complementary
#182080 #804418 #548018
monochromatic
#05061A #0E134C #182080 #222DB4 #3945DA

Accessibility & contrast

On white

13.49
#182080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#182080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182080
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182080#FFFFFF#000000##FFFFFF
##1820801.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #182080;
/* rgb */ color: rgb(24, 32, 128);
/* oklch */ color: oklch(31.7% 0.158 269.9);
Tailwind
colors: {
  custom: {
    50: '#695ca6',
    500: '#182080',
    950: '#000000',
  },
}
SCSS
$custom: #182080;
$custom-light: #695ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#182080",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 235.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31687,
    "c": 0.15751,
    "h": 269.9
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#182080
secondary
#B4AB40
accent
#DE3DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #182080

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

Preview Lab → · Contrast checker → · Palette generator →

#182080 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva