#181477#181477

#181477 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.158 H 272.2°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#181477
RGBrgb(24, 20, 119)
HSLhsl(242, 71%, 27%)
HSVhsv(242, 83%, 47%)
CMYKcmyk(79.8%, 83.2%, 0%, 53.3%)
CIE-LABlab(15.62, 36.96, -54.49)
CIE-LCHlch(15.62, 65.84, 304.15°)
OKLaboklab(28.88% 0.0062 -0.1577)
OKLCHoklch(28.88% 0.158 272.2)
XYZxyz(3.9555, 2.0260, 17.6318)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181477 #737714
analogous
#144277 #181477 #491477
triadic
#181477 #771814 #147718
tetradic
#181477 #771442 #737714 #147749
square
#181477 #771442 #737714 #147749
split-complementary
#181477 #774914 #427714
monochromatic
#05041A #0D0B43 #181477 #231DAB #312ADB

Accessibility & contrast

On white

14.94
#181477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181477
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181477#FFFFFF#000000##FFFFFF
##1814771.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7A
Deuteranopia (green-blind)
#002275
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181477;
/* rgb */ color: rgb(24, 20, 119);
/* oklch */ color: oklch(28.9% 0.158 272.2);
Tailwind
colors: {
  custom: {
    50: '#68549f',
    500: '#181477',
    950: '#000000',
  },
}
SCSS
$custom: #181477;
$custom-light: #68549f;
$custom-dark: #000000;
JSON
{
  "hex": "#181477",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 242.424,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28875,
    "c": 0.15781,
    "h": 272.2
  },
  "luminance": 0.02026
}

Semantic roles & 50–950 ramp

primary
#181477
secondary
#A8AD3A
accent
#EE3AE7
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #181477

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

Preview Lab → · Contrast checker → · Palette generator →

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