#181671#181671

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

Color values

HEX#181671
RGBrgb(24, 22, 113)
HSLhsl(241, 67%, 26%)
HSVhsv(241, 81%, 44%)
CMYKcmyk(78.8%, 80.5%, 0%, 55.7%)
CIE-LABlab(15.28, 33.78, -51.19)
CIE-LCHlch(15.28, 61.33, 303.42°)
OKLaboklab(28.42% 0.0068 -0.1481)
OKLCHoklch(28.42% 0.148 272.6)
XYZxyz(3.6432, 1.9599, 15.8059)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181671 #6F7116
analogous
#164271 #181671 #461671
triadic
#181671 #711816 #167118
tetradic
#181671 #711642 #6F7116 #167146
square
#181671 #711642 #6F7116 #167146
split-complementary
#181671 #714616 #427116
monochromatic
#05051A #0D0C3E #181671 #2320A4 #2F2CD6

Accessibility & contrast

On white

15.09
#181671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181671
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181671#FFFFFF#000000##FFFFFF
##1816711.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181671;
/* rgb */ color: rgb(24, 22, 113);
/* oklch */ color: oklch(28.4% 0.148 272.6);
Tailwind
colors: {
  custom: {
    50: '#66559b',
    500: '#181671',
    950: '#000000',
  },
}
SCSS
$custom: #181671;
$custom-light: #66559b;
$custom-dark: #000000;
JSON
{
  "hex": "#181671",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 241.319,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28417,
    "c": 0.1483,
    "h": 272.6
  },
  "luminance": 0.0196
}

Semantic roles & 50–950 ramp

primary
#181671
secondary
#A5A73C
accent
#EA3EE6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181671

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

Preview Lab → · Contrast checker → · Palette generator →

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