#181190#181190

#181190 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.190 H 270.2°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#181190
RGBrgb(24, 17, 144)
HSLhsl(243, 79%, 32%)
HSVhsv(243, 88%, 56%)
CMYKcmyk(83.3%, 88.2%, 0%, 43.5%)
CIE-LABlab(18.40, 46.39, -65.70)
CIE-LCHlch(18.40, 80.43, 305.23°)
OKLaboklab(31.72% 0.0006 -0.19)
OKLCHoklch(31.72% 0.19 270.2)
XYZxyz(5.6095, 2.6080, 26.5879)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181190 #899011
analogous
#114A90 #181190 #581190
triadic
#181190 #901811 #119018
tetradic
#181190 #90114A #899011 #119058
square
#181190 #90114A #899011 #119058
split-complementary
#181190 #905811 #4A9011
monochromatic
#060423 #0F0B59 #181190 #2117C7 #3E34E7

Accessibility & contrast

On white

13.80
#181190 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#181190 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181190
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181190#FFFFFF#000000##FFFFFF
##1811901.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003393
Deuteranopia (green-blind)
#00268E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181190;
/* rgb */ color: rgb(24, 17, 144);
/* oklch */ color: oklch(31.7% 0.190 270.2);
Tailwind
colors: {
  custom: {
    50: '#6f55b2',
    500: '#181190',
    950: '#000000',
  },
}
SCSS
$custom: #181190;
$custom-light: #6f55b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181190",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 144
  },
  "hsl": {
    "h": 243.307,
    "s": 78.882,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31721,
    "c": 0.19005,
    "h": 270.2
  },
  "luminance": 0.02609
}

Semantic roles & 50–950 ramp

primary
#181190
secondary
#BDC439
accent
#F532EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181190

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

Preview Lab → · Contrast checker → · Palette generator →

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