#181890#181890

#181890 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.185 H 269.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#181890
RGBrgb(24, 24, 144)
HSLhsl(240, 71%, 33%)
HSVhsv(240, 83%, 56%)
CMYKcmyk(83.3%, 83.3%, 0%, 43.5%)
CIE-LABlab(19.48, 43.21, -63.91)
CIE-LCHlch(19.48, 77.14, 304.06°)
OKLaboklab(32.46% -0.0006 -0.185)
OKLCHoklch(32.46% 0.185 269.8)
XYZxyz(5.7357, 2.8604, 26.6300)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181890 #909018
analogous
#185490 #181890 #541890
triadic
#181890 #901818 #189018
tetradic
#181890 #901854 #909018 #189054
square
#181890 #901854 #909018 #189054
split-complementary
#181890 #905418 #549018
monochromatic
#070727 #0F0F5C #181890 #2121C4 #4343E0

Accessibility & contrast

On white

13.36
#181890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#181890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181890
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181890#FFFFFF#000000##FFFFFF
##1818901.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00298E
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #181890;
/* rgb */ color: rgb(24, 24, 144);
/* oklch */ color: oklch(32.5% 0.185 269.8);
Tailwind
colors: {
  custom: {
    50: '#6e58b2',
    500: '#181890',
    950: '#000000',
  },
}
SCSS
$custom: #181890;
$custom-light: #6e58b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181890",
  "rgb": {
    "r": 24,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 240,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32462,
    "c": 0.18504,
    "h": 269.8
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#181890
secondary
#C0C043
accent
#EE3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181890

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

Preview Lab → · Contrast checker → · Palette generator →

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