#181E90#181E90

#181E90 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.2% C 0.180 H 269.3°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#181E90
RGBrgb(24, 30, 144)
HSLhsl(237, 71%, 33%)
HSVhsv(237, 83%, 56%)
CMYKcmyk(83.3%, 79.2%, 0%, 43.5%)
CIE-LABlab(20.58, 40.01, -62.08)
CIE-LCHlch(20.58, 73.85, 302.80°)
OKLaboklab(33.23% -0.0021 -0.1798)
OKLCHoklch(33.23% 0.18 269.3)
XYZxyz(5.8733, 3.1357, 26.6758)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E90 #908A18
analogous
#185A90 #181E90 #4E1890
triadic
#181E90 #90181E #1E9018
tetradic
#181E90 #90185A #908A18 #18904E
square
#181E90 #90185A #908A18 #18904E
split-complementary
#181E90 #904E18 #5A9018
monochromatic
#070827 #0F135C #181E90 #2129C4 #434BE0

Accessibility & contrast

On white

12.91
#181E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#181E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E90
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E90#FFFFFF#000000##FFFFFF
##181E901.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#002B8E
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #181e90;
/* rgb */ color: rgb(24, 30, 144);
/* oklch */ color: oklch(33.2% 0.180 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e5cb2',
    500: '#181e90',
    950: '#000000',
  },
}
SCSS
$custom: #181e90;
$custom-light: #6e5cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#181e90",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 237,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.17985,
    "h": 269.3
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#181E90
secondary
#C0BA43
accent
#E53AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181E90

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

Preview Lab → · Contrast checker → · Palette generator →

#181E90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva