#19166A#19166A

#19166A is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.139 H 274.0°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#19166A
RGBrgb(25, 22, 106)
HSLhsl(242, 66%, 25%)
HSVhsv(242, 79%, 42%)
CMYKcmyk(76.4%, 79.2%, 0%, 58.4%)
CIE-LABlab(14.52, 31.39, -47.87)
CIE-LCHlch(14.52, 57.24, 303.25°)
OKLaboklab(27.66% 0.0097 -0.1385)
OKLCHoklch(27.66% 0.139 274)
XYZxyz(3.2885, 1.8208, 13.8110)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19166A #676A16
analogous
#163D6A #19166A #43166A
triadic
#19166A #6A1916 #166A19
tetradic
#19166A #6A163D #676A16 #166A43
square
#19166A #6A163D #676A16 #166A43
split-complementary
#19166A #6A4316 #3D6A16
monochromatic
#060519 #0D0B37 #19166A #25219D #312BCF

Accessibility & contrast

On white

15.39
#19166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#19166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19166A
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19166A#FFFFFF#000000##FFFFFF
##19166A1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002169
Tritanopia (blue-blind)
#002F3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #19166a;
/* rgb */ color: rgb(25, 22, 106);
/* oklch */ color: oklch(27.7% 0.139 274.0);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#19166a',
    950: '#000000',
  },
}
SCSS
$custom: #19166a;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#19166a",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 242.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27657,
    "c": 0.13882,
    "h": 274
  },
  "luminance": 0.01821
}

Semantic roles & 50–950 ramp

primary
#19166A
secondary
#9DA03B
accent
#E93FE3
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #19166A

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

Preview Lab → · Contrast checker → · Palette generator →

#19166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva