#181370#181370

#181370 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.9% C 0.150 H 273.2°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#181370
RGBrgb(24, 19, 112)
HSLhsl(243, 71%, 26%)
HSVhsv(243, 83%, 44%)
CMYKcmyk(78.6%, 83%, 0%, 56.1%)
CIE-LABlab(14.57, 35.12, -51.71)
CIE-LCHlch(14.57, 62.51, 304.18°)
OKLaboklab(27.88% 0.0083 -0.1496)
OKLCHoklch(27.88% 0.15 273.2)
XYZxyz(3.5332, 1.8294, 15.4930)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181370 #6B7013
analogous
#133C70 #181370 #461370
triadic
#181370 #701813 #137018
tetradic
#181370 #70133C #6B7013 #137046
square
#181370 #70133C #6B7013 #137046
split-complementary
#181370 #704613 #3C7013
monochromatic
#06041A #0D0A3C #181370 #231CA4 #2E25D9

Accessibility & contrast

On white

15.37
#181370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#181370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181370
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181370#FFFFFF#000000##FFFFFF
##1813701.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002973
Deuteranopia (green-blind)
#00206E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181370;
/* rgb */ color: rgb(24, 19, 112);
/* oklch */ color: oklch(27.9% 0.150 273.2);
Tailwind
colors: {
  custom: {
    50: '#66539a',
    500: '#181370',
    950: '#000000',
  },
}
SCSS
$custom: #181370;
$custom-light: #66539a;
$custom-dark: #000000;
JSON
{
  "hex": "#181370",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 243.226,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.27884,
    "c": 0.14986,
    "h": 273.2
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#181370
secondary
#A1A738
accent
#EE3AE4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181370

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

Preview Lab → · Contrast checker → · Palette generator →

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