#181490#181490

#181490 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.188 H 270.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#181490
RGBrgb(24, 20, 144)
HSLhsl(242, 76%, 32%)
HSVhsv(242, 86%, 56%)
CMYKcmyk(83.3%, 86.1%, 0%, 43.5%)
CIE-LABlab(18.83, 45.10, -64.98)
CIE-LCHlch(18.83, 79.10, 304.77°)
OKLaboklab(32.02% 0.0001 -0.188)
OKLCHoklch(32.02% 0.188 270)
XYZxyz(5.6592, 2.7075, 26.6045)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181490 #8C9014
analogous
#144E90 #181490 #561490
triadic
#181490 #901814 #149018
tetradic
#181490 #90144E #8C9014 #149056
square
#181490 #90144E #8C9014 #149056
split-complementary
#181490 #905614 #4E9014
monochromatic
#060525 #0F0D5A #181490 #211BC6 #403BE4

Accessibility & contrast

On white

13.62
#181490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#181490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181490
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181490#FFFFFF#000000##FFFFFF
##1814901.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003493
Deuteranopia (green-blind)
#00278E
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #181490;
/* rgb */ color: rgb(24, 20, 144);
/* oklch */ color: oklch(32.0% 0.188 270.0);
Tailwind
colors: {
  custom: {
    50: '#6f56b2',
    500: '#181490',
    950: '#000000',
  },
}
SCSS
$custom: #181490;
$custom-light: #6f56b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181490",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 241.935,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32017,
    "c": 0.18805,
    "h": 270
  },
  "luminance": 0.02708
}

Semantic roles & 50–950 ramp

primary
#181490
secondary
#BFC33D
accent
#F236EC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181490

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

Preview Lab → · Contrast checker → · Palette generator →

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