#181663#181663

#181663 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.8% C 0.130 H 274.3°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#181663
RGBrgb(24, 22, 99)
HSLhsl(242, 64%, 24%)
HSVhsv(242, 78%, 39%)
CMYKcmyk(75.8%, 77.8%, 0%, 61.2%)
CIE-LABlab(13.64, 28.74, -44.70)
CIE-LCHlch(13.64, 53.15, 302.74°)
OKLaboklab(26.78% 0.0098 -0.1293)
OKLCHoklch(26.78% 0.13 274.3)
XYZxyz(2.9150, 1.6686, 11.9704)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181663 #616316
analogous
#163A63 #181663 #3E1663
triadic
#181663 #631816 #166318
tetradic
#181663 #63163A #616316 #16633E
square
#181663 #63163A #616316 #16633E
split-complementary
#181663 #633E16 #3A6316
monochromatic
#060619 #0C0B31 #181663 #242195 #302CC7

Accessibility & contrast

On white

15.74
#181663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#181663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181663
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181663#FFFFFF#000000##FFFFFF
##1816631.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181663;
/* rgb */ color: rgb(24, 22, 99);
/* oklch */ color: oklch(26.8% 0.130 274.3);
Tailwind
colors: {
  custom: {
    50: '#625490',
    500: '#181663',
    950: '#000000',
  },
}
SCSS
$custom: #181663;
$custom-light: #625490;
$custom-dark: #000000;
JSON
{
  "hex": "#181663",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 241.558,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.26778,
    "c": 0.12965,
    "h": 274.3
  },
  "luminance": 0.01669
}

Semantic roles & 50–950 ramp

primary
#181663
secondary
#979A3B
accent
#E741E2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181663

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

Preview Lab → · Contrast checker → · Palette generator →

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