#181664#181664

#181664 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.131 H 274.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#181664
RGBrgb(24, 22, 100)
HSLhsl(242, 64%, 24%)
HSVhsv(242, 78%, 39%)
CMYKcmyk(76%, 78%, 0%, 60.8%)
CIE-LABlab(13.76, 29.11, -45.18)
CIE-LCHlch(13.76, 53.74, 302.79°)
OKLaboklab(26.89% 0.0096 -0.1307)
OKLCHoklch(26.89% 0.131 274.2)
XYZxyz(2.9631, 1.6878, 12.2237)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181664 #626416
analogous
#163B64 #181664 #3F1664
triadic
#181664 #641816 #166418
tetradic
#181664 #64163B #626416 #16643F
square
#181664 #64163B #626416 #16643F
split-complementary
#181664 #643F16 #3B6416
monochromatic
#060619 #0C0B32 #181664 #242196 #302CC8

Accessibility & contrast

On white

15.70
#181664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181664
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181664#FFFFFF#000000##FFFFFF
##1816641.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002766
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181664;
/* rgb */ color: rgb(24, 22, 100);
/* oklch */ color: oklch(26.9% 0.131 274.2);
Tailwind
colors: {
  custom: {
    50: '#635491',
    500: '#181664',
    950: '#000000',
  },
}
SCSS
$custom: #181664;
$custom-light: #635491;
$custom-dark: #000000;
JSON
{
  "hex": "#181664",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 241.538,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26893,
    "c": 0.13101,
    "h": 274.2
  },
  "luminance": 0.01688
}

Semantic roles & 50–950 ramp

primary
#181664
secondary
#989B3B
accent
#E741E3
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181664

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

Preview Lab → · Contrast checker → · Palette generator →

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