#181472#181472

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

Color values

HEX#181472
RGBrgb(24, 20, 114)
HSLhsl(243, 70%, 26%)
HSVhsv(243, 82%, 45%)
CMYKcmyk(78.9%, 82.5%, 0%, 55.3%)
CIE-LABlab(15.00, 35.26, -52.29)
CIE-LCHlch(15.00, 63.07, 303.99°)
OKLaboklab(28.26% 0.0074 -0.1513)
OKLCHoklch(28.26% 0.151 272.8)
XYZxyz(3.6631, 1.9090, 16.0917)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181472 #6E7214
analogous
#143F72 #181472 #471472
triadic
#181472 #721814 #147218
tetradic
#181472 #72143F #6E7214 #147247
square
#181472 #72143F #6E7214 #147247
split-complementary
#181472 #724714 #3F7214
monochromatic
#05051A #0D0B3E #181472 #231DA6 #2F27D9

Accessibility & contrast

On white

15.20
#181472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181472
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181472#FFFFFF#000000##FFFFFF
##1814721.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181472;
/* rgb */ color: rgb(24, 20, 114);
/* oklch */ color: oklch(28.3% 0.151 272.8);
Tailwind
colors: {
  custom: {
    50: '#67549c',
    500: '#181472',
    950: '#000000',
  },
}
SCSS
$custom: #181472;
$custom-light: #67549c;
$custom-dark: #000000;
JSON
{
  "hex": "#181472",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 242.553,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28262,
    "c": 0.15149,
    "h": 272.8
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#181472
secondary
#A4A839
accent
#ED3BE5
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181472

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

Preview Lab → · Contrast checker → · Palette generator →

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