#181590#181590

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

Color values

HEX#181590
RGBrgb(24, 21, 144)
HSLhsl(241, 75%, 32%)
HSVhsv(241, 85%, 56%)
CMYKcmyk(83.3%, 85.4%, 0%, 43.5%)
CIE-LABlab(18.99, 44.65, -64.72)
CIE-LCHlch(18.99, 78.63, 304.60°)
OKLaboklab(32.12% -0.0001 -0.1873)
OKLCHoklch(32.12% 0.187 270)
XYZxyz(5.6772, 2.7435, 26.6105)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181590 #8D9015
analogous
#155090 #181590 #551590
triadic
#181590 #901815 #159018
tetradic
#181590 #901550 #8D9015 #159055
square
#181590 #901550 #8D9015 #159055
split-complementary
#181590 #905515 #509015
monochromatic
#060525 #0F0D5B #181590 #211DC5 #413DE3

Accessibility & contrast

On white

13.56
#181590 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#181590 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181590
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181590#FFFFFF#000000##FFFFFF
##1815901.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181590;
/* rgb */ color: rgb(24, 21, 144);
/* oklch */ color: oklch(32.1% 0.187 270.0);
Tailwind
colors: {
  custom: {
    50: '#6f57b2',
    500: '#181590',
    950: '#000000',
  },
}
SCSS
$custom: #181590;
$custom-light: #6f57b2;
$custom-dark: #000000;
JSON
{
  "hex": "#181590",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 144
  },
  "hsl": {
    "h": 241.463,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.32123,
    "c": 0.18733,
    "h": 270
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#181590
secondary
#BFC23E
accent
#F137ED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #181590

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

Preview Lab → · Contrast checker → · Palette generator →

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