#181164#181164

#181164 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.136 H 275.2°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#181164
RGBrgb(24, 17, 100)
HSLhsl(245, 71%, 23%)
HSVhsv(245, 83%, 39%)
CMYKcmyk(76%, 83%, 0%, 60.8%)
CIE-LABlab(12.70, 32.10, -46.92)
CIE-LCHlch(12.70, 56.85, 304.38°)
OKLaboklab(26.15% 0.0123 -0.1357)
OKLCHoklch(26.15% 0.136 275.2)
XYZxyz(2.8766, 1.5149, 12.1949)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181164 #5D6411
analogous
#113364 #181164 #411164
triadic
#181164 #641811 #116418
tetradic
#181164 #641133 #5D6411 #116441
square
#181164 #641133 #5D6411 #116441
split-complementary
#181164 #644111 #336411
monochromatic
#06041A #0B0830 #181164 #251A98 #3123CD

Accessibility & contrast

On white

16.12
#181164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#181164 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181164
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181164#FFFFFF#000000##FFFFFF
##1811641.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001D63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #181164;
/* rgb */ color: rgb(24, 17, 100);
/* oklch */ color: oklch(26.2% 0.136 275.2);
Tailwind
colors: {
  custom: {
    50: '#635191',
    500: '#181164',
    950: '#000000',
  },
}
SCSS
$custom: #181164;
$custom-light: #635191;
$custom-dark: #000000;
JSON
{
  "hex": "#181164",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 245.06,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.26151,
    "c": 0.13622,
    "h": 275.2
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#181164
secondary
#939C35
accent
#EE3ADF
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181164

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

Preview Lab → · Contrast checker → · Palette generator →

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