#19166C#19166C

#19166C is a dark, vivid blue. Relative luminance 0.019; OKLCH L 27.9% C 0.141 H 273.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#19166C
RGBrgb(25, 22, 108)
HSLhsl(242, 66%, 25%)
HSVhsv(242, 80%, 42%)
CMYKcmyk(76.9%, 79.6%, 0%, 57.6%)
CIE-LABlab(14.75, 32.10, -48.80)
CIE-LCHlch(14.75, 58.41, 303.34°)
OKLaboklab(27.89% 0.0093 -0.1412)
OKLCHoklch(27.89% 0.141 273.8)
XYZxyz(3.3937, 1.8629, 14.3652)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19166C #696C16
analogous
#163E6C #19166C #44166C
triadic
#19166C #6C1916 #166C19
tetradic
#19166C #6C163E #696C16 #166C44
square
#19166C #6C163E #696C16 #166C44
split-complementary
#19166C #6C4416 #3E6C16
monochromatic
#060519 #0D0C39 #19166C #25209F #312BD2

Accessibility & contrast

On white

15.30
#19166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19166C
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19166C#FFFFFF#000000##FFFFFF
##19166C1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #19166c;
/* rgb */ color: rgb(25, 22, 108);
/* oklch */ color: oklch(27.9% 0.141 273.8);
Tailwind
colors: {
  custom: {
    50: '#655597',
    500: '#19166c',
    950: '#000000',
  },
}
SCSS
$custom: #19166c;
$custom-light: #655597;
$custom-dark: #000000;
JSON
{
  "hex": "#19166c",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 242.093,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.27891,
    "c": 0.14147,
    "h": 273.8
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#19166C
secondary
#9FA23C
accent
#E93FE3
background
#F6F5F9
surface
#EBE8F2
border
#C6C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #19166C

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

Preview Lab → · Contrast checker → · Palette generator →

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