#181373#181373

#181373 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.154 H 272.8°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#181373
RGBrgb(24, 19, 115)
HSLhsl(243, 72%, 26%)
HSVhsv(243, 83%, 45%)
CMYKcmyk(79.1%, 83.5%, 0%, 54.9%)
CIE-LABlab(14.94, 36.15, -53.04)
CIE-LCHlch(14.94, 64.19, 304.27°)
OKLaboklab(28.25% 0.0075 -0.1535)
OKLCHoklch(28.25% 0.154 272.8)
XYZxyz(3.7030, 1.8973, 16.3874)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181373 #6E7313
analogous
#133E73 #181373 #481373
triadic
#181373 #731813 #137318
tetradic
#181373 #73133E #6E7313 #137348
square
#181373 #73133E #6E7313 #137348
split-complementary
#181373 #734813 #3E7313
monochromatic
#05041A #0D0A3E #181373 #231CA8 #2F25DB

Accessibility & contrast

On white

15.22
#181373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181373
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181373#FFFFFF#000000##FFFFFF
##1813731.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A76
Deuteranopia (green-blind)
#002171
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181373;
/* rgb */ color: rgb(24, 19, 115);
/* oklch */ color: oklch(28.3% 0.154 272.8);
Tailwind
colors: {
  custom: {
    50: '#67539c',
    500: '#181373',
    950: '#000000',
  },
}
SCSS
$custom: #181373;
$custom-light: #67539c;
$custom-dark: #000000;
JSON
{
  "hex": "#181373",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 243.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28254,
    "c": 0.15366,
    "h": 272.8
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#181373
secondary
#A4AA38
accent
#EE39E5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181373

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

Preview Lab → · Contrast checker → · Palette generator →

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