#181167#181167

#181167 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.140 H 274.7°. Best body text is #FFFFFF at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#181167
RGBrgb(24, 17, 103)
HSLhsl(245, 72%, 24%)
HSVhsv(245, 83%, 40%)
CMYKcmyk(76.7%, 83.5%, 0%, 59.6%)
CIE-LABlab(13.07, 33.14, -48.29)
CIE-LCHlch(13.07, 58.57, 304.46°)
OKLaboklab(26.52% 0.0115 -0.1397)
OKLCHoklch(26.52% 0.14 274.7)
XYZxyz(3.0245, 1.5741, 12.9738)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181167 #606711
analogous
#113567 #181167 #431167
triadic
#181167 #671811 #116718
tetradic
#181167 #671135 #606711 #116743
square
#181167 #671135 #606711 #116743
split-complementary
#181167 #674311 #356711
monochromatic
#06041A #0C0832 #181167 #241A9C #3022D0

Accessibility & contrast

On white

15.97
#181167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181167
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181167#FFFFFF#000000##FFFFFF
##1811671.0015.971.3115.97
#FFFFFF15.971.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002569
Deuteranopia (green-blind)
#001E66
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181167;
/* rgb */ color: rgb(24, 17, 103);
/* oklch */ color: oklch(26.5% 0.140 274.7);
Tailwind
colors: {
  custom: {
    50: '#645193',
    500: '#181167',
    950: '#000000',
  },
}
SCSS
$custom: #181167;
$custom-light: #645193;
$custom-dark: #000000;
JSON
{
  "hex": "#181167",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 103
  },
  "hsl": {
    "h": 244.884,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26516,
    "c": 0.14013,
    "h": 274.7
  },
  "luminance": 0.01574
}

Semantic roles & 50–950 ramp

primary
#181167
secondary
#969F35
accent
#EE39E0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181167

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

Preview Lab → · Contrast checker → · Palette generator →

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