#181A90#181A90

#181A90 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.183 H 269.7°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#181A90
RGBrgb(24, 26, 144)
HSLhsl(239, 71%, 33%)
HSVhsv(239, 83%, 56%)
CMYKcmyk(83.3%, 81.9%, 0%, 43.5%)
CIE-LABlab(19.83, 42.18, -63.33)
CIE-LCHlch(19.83, 76.09, 303.67°)
OKLaboklab(32.71% -0.0011 -0.1834)
OKLCHoklch(32.71% 0.183 269.7)
XYZxyz(5.7784, 2.9459, 26.6442)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A90 #908E18
analogous
#185690 #181A90 #521890
triadic
#181A90 #90181A #1A9018
tetradic
#181A90 #901856 #908E18 #189052
square
#181A90 #901856 #908E18 #189052
split-complementary
#181A90 #905218 #569018
monochromatic
#070727 #0F115C #181A90 #2123C4 #4345E0

Accessibility & contrast

On white

13.21
#181A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#181A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A90
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A90#FFFFFF#000000##FFFFFF
##181A901.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #181a90;
/* rgb */ color: rgb(24, 26, 144);
/* oklch */ color: oklch(32.7% 0.183 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e59b2',
    500: '#181a90',
    950: '#000000',
  },
}
SCSS
$custom: #181a90;
$custom-light: #6e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181a90",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 239,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32706,
    "c": 0.18339,
    "h": 269.7
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#181A90
secondary
#C0BE43
accent
#EB3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181A90

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

Preview Lab → · Contrast checker → · Palette generator →

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