#181471#181471

#181471 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.150 H 272.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#181471
RGBrgb(24, 20, 113)
HSLhsl(243, 70%, 26%)
HSVhsv(243, 82%, 44%)
CMYKcmyk(78.8%, 82.3%, 0%, 55.7%)
CIE-LABlab(14.88, 34.92, -51.84)
CIE-LCHlch(14.88, 62.51, 303.96°)
OKLaboklab(28.14% 0.0076 -0.15)
OKLCHoklch(28.14% 0.15 272.9)
XYZxyz(3.6065, 1.8864, 15.7936)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181471 #6D7114
analogous
#143E71 #181471 #461471
triadic
#181471 #711814 #147118
tetradic
#181471 #71143E #6D7114 #147146
square
#181471 #71143E #6D7114 #147146
split-complementary
#181471 #714614 #3E7114
monochromatic
#06051A #0D0B3D #181471 #231DA5 #2E27D9

Accessibility & contrast

On white

15.25
#181471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181471
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181471#FFFFFF#000000##FFFFFF
##1814711.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A74
Deuteranopia (green-blind)
#00216F
Tritanopia (blue-blind)
#003142
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181471;
/* rgb */ color: rgb(24, 20, 113);
/* oklch */ color: oklch(28.1% 0.150 272.9);
Tailwind
colors: {
  custom: {
    50: '#66549b',
    500: '#181471',
    950: '#000000',
  },
}
SCSS
$custom: #181471;
$custom-light: #66549b;
$custom-dark: #000000;
JSON
{
  "hex": "#181471",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 242.581,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.15021,
    "h": 272.9
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181471

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

Preview Lab → · Contrast checker → · Palette generator →

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