#182081#182081

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

Color values

HEX#182081
RGBrgb(24, 32, 129)
HSLhsl(235, 69%, 30%)
HSVhsv(235, 81%, 51%)
CMYKcmyk(81.4%, 75.2%, 0%, 49.4%)
CIE-LABlab(19.27, 33.47, -54.83)
CIE-LCHlch(19.27, 64.24, 301.40°)
OKLaboklab(31.8% -0.0003 -0.1588)
OKLCHoklch(31.8% 0.159 269.9)
XYZxyz(4.8543, 2.8116, 21.0515)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182081 #817918
analogous
#185481 #182081 #451881
triadic
#182081 #811820 #208118
tetradic
#182081 #811854 #817918 #188145
square
#182081 #811854 #817918 #188145
split-complementary
#182081 #814518 #548118
monochromatic
#05061A #0E134D #182081 #222DB5 #3945DA

Accessibility & contrast

On white

13.44
#182081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #182081
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182081#FFFFFF#000000##FFFFFF
##1820811.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #182081;
/* rgb */ color: rgb(24, 32, 129);
/* oklch */ color: oklch(31.8% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#6a5ca7',
    500: '#182081',
    950: '#000000',
  },
}
SCSS
$custom: #182081;
$custom-light: #6a5ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#182081",
  "rgb": {
    "r": 24,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 235.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.318,
    "c": 0.15882,
    "h": 269.9
  },
  "luminance": 0.02812
}

Semantic roles & 50–950 ramp

primary
#182081
secondary
#B5AC40
accent
#DE3CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F

Preview Lab

Preview with #182081

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

Preview Lab → · Contrast checker → · Palette generator →

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