#181990#181990

#181990 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.184 H 269.7°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#181990
RGBrgb(24, 25, 144)
HSLhsl(240, 71%, 33%)
HSVhsv(240, 83%, 56%)
CMYKcmyk(83.3%, 82.6%, 0%, 43.5%)
CIE-LABlab(19.65, 42.70, -63.62)
CIE-LCHlch(19.65, 76.62, 303.87°)
OKLaboklab(32.58% -0.0009 -0.1842)
OKLCHoklch(32.58% 0.184 269.7)
XYZxyz(5.7566, 2.9024, 26.6370)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181990 #908F18
analogous
#185590 #181990 #531890
triadic
#181990 #901819 #199018
tetradic
#181990 #901855 #908F18 #189053
square
#181990 #901855 #908F18 #189053
split-complementary
#181990 #905318 #559018
monochromatic
#070727 #0F105C #181990 #2122C4 #4344E0

Accessibility & contrast

On white

13.29
#181990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#181990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181990
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181990#FFFFFF#000000##FFFFFF
##1819901.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181990;
/* rgb */ color: rgb(24, 25, 144);
/* oklch */ color: oklch(32.6% 0.184 269.7);
Tailwind
colors: {
  custom: {
    50: '#6e59b2',
    500: '#181990',
    950: '#000000',
  },
}
SCSS
$custom: #181990;
$custom-light: #6e59b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181990",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 239.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.18423,
    "h": 269.7
  },
  "luminance": 0.02903
}

Semantic roles & 50–950 ramp

primary
#181990
secondary
#C0BF43
accent
#ED3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181990

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

Preview Lab → · Contrast checker → · Palette generator →

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