#18169E#18169E

#18169E is a dark, highly saturated blue. Relative luminance 0.032; OKLCH L 34.0% C 0.203 H 269.1°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#18169E
RGBrgb(24, 22, 158)
HSLhsl(241, 76%, 35%)
HSVhsv(241, 86%, 62%)
CMYKcmyk(84.8%, 86.1%, 0%, 38%)
CIE-LABlab(20.96, 48.57, -70.07)
CIE-LCHlch(20.96, 85.26, 304.73°)
OKLaboklab(34% -0.0033 -0.2028)
OKLCHoklch(34% 0.203 269.1)
XYZxyz(6.8330, 3.2358, 32.6056)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18169E #9C9E16
analogous
#16589E #18169E #5C169E
triadic
#18169E #9E1816 #169E18
tetradic
#18169E #9E1658 #9C9E16 #169E5C
square
#18169E #9E1658 #9C9E16 #169E5C
split-complementary
#18169E #9E5C16 #589E16
monochromatic
#080733 #100F68 #18169E #201DD4 #4B49E6

Accessibility & contrast

On white

12.75
#18169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#18169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18169E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18169E#FFFFFF#000000##FFFFFF
##18169E1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0039A2
Deuteranopia (green-blind)
#002B9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #18169e;
/* rgb */ color: rgb(24, 22, 158);
/* oklch */ color: oklch(34.0% 0.203 269.1);
Tailwind
colors: {
  custom: {
    50: '#7259bc',
    500: '#18169e',
    950: '#000000',
  },
}
SCSS
$custom: #18169e;
$custom-light: #7259bc;
$custom-dark: #000000;
JSON
{
  "hex": "#18169e",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 240.882,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34004,
    "c": 0.20284,
    "h": 269.1
  },
  "luminance": 0.03237
}

Semantic roles & 50–950 ramp

primary
#18169E
secondary
#C5C749
accent
#F236EF
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #18169E

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

Preview Lab → · Contrast checker → · Palette generator →

#18169E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva