#181A89#181A89

#181A89 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.175 H 270.1°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#181A89
RGBrgb(24, 26, 137)
HSLhsl(239, 70%, 32%)
HSVhsv(239, 82%, 54%)
CMYKcmyk(82.5%, 81%, 0%, 46.3%)
CIE-LABlab(18.96, 39.83, -60.38)
CIE-LCHlch(18.96, 72.34, 303.41°)
OKLaboklab(31.86% 0.0003 -0.1749)
OKLCHoklch(31.86% 0.175 270.1)
XYZxyz(5.2599, 2.7385, 23.9134)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A89 #898718
analogous
#185389 #181A89 #4F1889
triadic
#181A89 #89181A #1A8918
tetradic
#181A89 #891853 #898718 #18894F
square
#181A89 #891853 #898718 #18894F
split-complementary
#181A89 #894F18 #538918
monochromatic
#060621 #0F1055 #181A89 #2124BD #3E41DD

Accessibility & contrast

On white

13.57
#181A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#181A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A89
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A89#FFFFFF#000000##FFFFFF
##181A891.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002887
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #181a89;
/* rgb */ color: rgb(24, 26, 137);
/* oklch */ color: oklch(31.9% 0.175 270.1);
Tailwind
colors: {
  custom: {
    50: '#6c59ad',
    500: '#181a89',
    950: '#000000',
  },
}
SCSS
$custom: #181a89;
$custom-light: #6c59ad;
$custom-dark: #000000;
JSON
{
  "hex": "#181a89",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 238.938,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31855,
    "c": 0.17487,
    "h": 270.1
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#181A89
secondary
#BDBA40
accent
#EA3BED
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #181A89

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

Preview Lab → · Contrast checker → · Palette generator →

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