#181667#181667

#181667 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.135 H 273.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#181667
RGBrgb(24, 22, 103)
HSLhsl(241, 65%, 25%)
HSVhsv(241, 79%, 40%)
CMYKcmyk(76.7%, 78.6%, 0%, 59.6%)
CIE-LABlab(14.10, 30.20, -46.59)
CIE-LCHlch(14.10, 55.53, 302.95°)
OKLaboklab(27.24% 0.009 -0.1348)
OKLCHoklch(27.24% 0.135 273.8)
XYZxyz(3.1110, 1.7470, 13.0026)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181667 #656716
analogous
#163D67 #181667 #401667
triadic
#181667 #671816 #166718
tetradic
#181667 #67163D #656716 #166740
square
#181667 #67163D #656716 #166740
split-complementary
#181667 #674016 #3D6716
monochromatic
#060519 #0C0B35 #181667 #242199 #2F2CCC

Accessibility & contrast

On white

15.56
#181667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#181667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181667
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181667#FFFFFF#000000##FFFFFF
##1816671.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002869
Deuteranopia (green-blind)
#002066
Tritanopia (blue-blind)
#002D3D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #181667;
/* rgb */ color: rgb(24, 22, 103);
/* oklch */ color: oklch(27.2% 0.135 273.8);
Tailwind
colors: {
  custom: {
    50: '#635493',
    500: '#181667',
    950: '#000000',
  },
}
SCSS
$custom: #181667;
$custom-light: #635493;
$custom-dark: #000000;
JSON
{
  "hex": "#181667",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 241.481,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.27239,
    "c": 0.13508,
    "h": 273.8
  },
  "luminance": 0.01747
}

Semantic roles & 50–950 ramp

primary
#181667
secondary
#9B9E3B
accent
#E840E4
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181667

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

Preview Lab → · Contrast checker → · Palette generator →

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