#181072#181072

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

Color values

HEX#181072
RGBrgb(24, 16, 114)
HSLhsl(245, 75%, 25%)
HSVhsv(245, 86%, 45%)
CMYKcmyk(78.9%, 86%, 0%, 55.3%)
CIE-LABlab(14.28, 37.35, -53.48)
CIE-LCHlch(14.28, 65.23, 304.93°)
OKLaboklab(27.76% 0.0088 -0.1547)
OKLCHoklch(27.76% 0.155 273.2)
XYZxyz(3.5982, 1.7793, 16.0701)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181072 #6A7210
analogous
#103972 #181072 #491072
triadic
#181072 #721810 #107218
tetradic
#181072 #721039 #6A7210 #107249
square
#181072 #721039 #6A7210 #107249
split-complementary
#181072 #724910 #397210
monochromatic
#06041B #0D083C #181072 #2318A8 #2F1FDD

Accessibility & contrast

On white

15.49
#181072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#181072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181072
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181072#FFFFFF#000000##FFFFFF
##1810721.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#001F70
Tritanopia (blue-blind)
#002F42
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181072;
/* rgb */ color: rgb(24, 16, 114);
/* oklch */ color: oklch(27.8% 0.155 273.2);
Tailwind
colors: {
  custom: {
    50: '#67529c',
    500: '#181072',
    950: '#000000',
  },
}
SCSS
$custom: #181072;
$custom-light: #67529c;
$custom-dark: #000000;
JSON
{
  "hex": "#181072",
  "rgb": {
    "r": 24,
    "g": 16,
    "b": 114
  },
  "hsl": {
    "h": 244.898,
    "s": 75.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27762,
    "c": 0.15494,
    "h": 273.2
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#181072
secondary
#A0A934
accent
#F236E3
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181072

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

Preview Lab → · Contrast checker → · Palette generator →

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