#182880#182880

#182880 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.148 H 268.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#182880
RGBrgb(24, 40, 128)
HSLhsl(231, 68%, 30%)
HSVhsv(231, 81%, 50%)
CMYKcmyk(81.3%, 68.8%, 0%, 49.8%)
CIE-LABlab(21.09, 27.84, -51.20)
CIE-LCHlch(21.09, 58.28, 298.54°)
OKLaboklab(33.08% -0.0042 -0.1482)
OKLCHoklch(33.08% 0.148 268.4)
XYZxyz(5.0304, 3.2697, 20.7839)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182880 #807018
analogous
#185C80 #182880 #3C1880
triadic
#182880 #801828 #288018
tetradic
#182880 #80185C #807018 #18803C
square
#182880 #80185C #807018 #18803C
split-complementary
#182880 #803C18 #5C8018
monochromatic
#05081A #0E184C #182880 #2238B4 #3951DA

Accessibility & contrast

On white

12.70
#182880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#182880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182880
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182880#FFFFFF#000000##FFFFFF
##1828801.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182880;
/* rgb */ color: rgb(24, 40, 128);
/* oklch */ color: oklch(33.1% 0.148 268.4);
Tailwind
colors: {
  custom: {
    50: '#6862a6',
    500: '#182880',
    950: '#000000',
  },
}
SCSS
$custom: #182880;
$custom-light: #6862a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182880",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 230.769,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.1483,
    "h": 268.4
  },
  "luminance": 0.0327
}

Semantic roles & 50–950 ramp

primary
#182880
secondary
#B4A240
accent
#D03DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182880

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

Preview Lab → · Contrast checker → · Palette generator →

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