#181474#181474

#181474 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.5% C 0.154 H 272.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#181474
RGBrgb(24, 20, 116)
HSLhsl(243, 71%, 27%)
HSVhsv(243, 83%, 45%)
CMYKcmyk(79.3%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.25, 35.94, -53.17)
CIE-LCHlch(15.25, 64.18, 304.06°)
OKLaboklab(28.51% 0.0069 -0.1539)
OKLCHoklch(28.51% 0.154 272.6)
XYZxyz(3.7782, 1.9551, 16.6979)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181474 #707414
analogous
#144074 #181474 #481474
triadic
#181474 #741814 #147418
tetradic
#181474 #741440 #707414 #147448
square
#181474 #741440 #707414 #147448
split-complementary
#181474 #744814 #407414
monochromatic
#05051A #0D0B40 #181474 #231DA8 #3028DA

Accessibility & contrast

On white

15.10
#181474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181474
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181474#FFFFFF#000000##FFFFFF
##1814741.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002172
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181474;
/* rgb */ color: rgb(24, 20, 116);
/* oklch */ color: oklch(28.5% 0.154 272.6);
Tailwind
colors: {
  custom: {
    50: '#67549d',
    500: '#181474',
    950: '#000000',
  },
}
SCSS
$custom: #181474;
$custom-light: #67549d;
$custom-dark: #000000;
JSON
{
  "hex": "#181474",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 242.5,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28506,
    "c": 0.15403,
    "h": 272.6
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#181474
secondary
#A5AA3A
accent
#ED3AE6
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181474

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

Preview Lab → · Contrast checker → · Palette generator →

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