#181479#181479

#181479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.160 H 272.0°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#181479
RGBrgb(24, 20, 121)
HSLhsl(242, 72%, 28%)
HSVhsv(242, 83%, 47%)
CMYKcmyk(80.2%, 83.5%, 0%, 52.5%)
CIE-LABlab(15.87, 37.64, -55.36)
CIE-LCHlch(15.87, 66.94, 304.21°)
OKLaboklab(29.12% 0.0057 -0.1602)
OKLCHoklch(29.12% 0.16 272)
XYZxyz(4.0769, 2.0745, 18.2710)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181479 #757914
analogous
#144379 #181479 #4A1479
triadic
#181479 #791814 #147918
tetradic
#181479 #791443 #757914 #14794A
square
#181479 #791443 #757914 #14794A
split-complementary
#181479 #794A14 #437914
monochromatic
#05041A #0E0B44 #181479 #221DAE #322BDC

Accessibility & contrast

On white

14.84
#181479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181479
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181479#FFFFFF#000000##FFFFFF
##1814791.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181479;
/* rgb */ color: rgb(24, 20, 121);
/* oklch */ color: oklch(29.1% 0.160 272.0);
Tailwind
colors: {
  custom: {
    50: '#6954a1',
    500: '#181479',
    950: '#000000',
  },
}
SCSS
$custom: #181479;
$custom-light: #6954a1;
$custom-dark: #000000;
JSON
{
  "hex": "#181479",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 242.376,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29122,
    "c": 0.16031,
    "h": 272
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#181479
secondary
#AAAF3A
accent
#EE39E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F

Preview Lab

Preview with #181479

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

Preview Lab → · Contrast checker → · Palette generator →

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