#19166B#19166B

#19166B is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.8% C 0.140 H 273.9°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#19166B
RGBrgb(25, 22, 107)
HSLhsl(242, 66%, 25%)
HSVhsv(242, 79%, 42%)
CMYKcmyk(76.6%, 79.4%, 0%, 58%)
CIE-LABlab(14.63, 31.74, -48.34)
CIE-LCHlch(14.63, 57.83, 303.29°)
OKLaboklab(27.77% 0.0095 -0.1398)
OKLCHoklch(27.77% 0.14 273.9)
XYZxyz(3.3408, 1.8417, 14.0865)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19166B #686B16
analogous
#163D6B #19166B #44166B
triadic
#19166B #6B1916 #166B19
tetradic
#19166B #6B163D #686B16 #166B44
square
#19166B #6B163D #686B16 #166B44
split-complementary
#19166B #6B4416 #3D6B16
monochromatic
#060519 #0D0C38 #19166B #25209E #312BD1

Accessibility & contrast

On white

15.35
#19166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#19166B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19166B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19166B#FFFFFF#000000##FFFFFF
##19166B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #19166b;
/* rgb */ color: rgb(25, 22, 107);
/* oklch */ color: oklch(27.8% 0.140 273.9);
Tailwind
colors: {
  custom: {
    50: '#655596',
    500: '#19166b',
    950: '#000000',
  },
}
SCSS
$custom: #19166b;
$custom-light: #655596;
$custom-dark: #000000;
JSON
{
  "hex": "#19166b",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 242.118,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27774,
    "c": 0.14015,
    "h": 273.9
  },
  "luminance": 0.01842
}

Semantic roles & 50–950 ramp

primary
#19166B
secondary
#9EA13B
accent
#E93FE3
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #19166B

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

Preview Lab → · Contrast checker → · Palette generator →

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