#19166E#19166E

#19166E is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.144 H 273.5°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#19166E
RGBrgb(25, 22, 110)
HSLhsl(242, 67%, 26%)
HSVhsv(242, 80%, 43%)
CMYKcmyk(77.3%, 80%, 0%, 56.9%)
CIE-LABlab(14.99, 32.81, -49.71)
CIE-LCHlch(14.99, 59.56, 303.42°)
OKLaboklab(28.13% 0.0088 -0.1438)
OKLCHoklch(28.13% 0.144 273.5)
XYZxyz(3.5013, 1.9059, 14.9322)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19166E #6B6E16
analogous
#163F6E #19166E #45166E
triadic
#19166E #6E1916 #166E19
tetradic
#19166E #6E163F #6B6E16 #166E45
square
#19166E #6E163F #6B6E16 #166E45
split-complementary
#19166E #6E4516 #3F6E16
monochromatic
#06051A #0D0C3B #19166E #2520A1 #302AD4

Accessibility & contrast

On white

15.20
#19166E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#19166E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19166E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19166E#FFFFFF#000000##FFFFFF
##19166E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #19166e;
/* rgb */ color: rgb(25, 22, 110);
/* oklch */ color: oklch(28.1% 0.144 273.5);
Tailwind
colors: {
  custom: {
    50: '#665599',
    500: '#19166e',
    950: '#000000',
  },
}
SCSS
$custom: #19166e;
$custom-light: #665599;
$custom-dark: #000000;
JSON
{
  "hex": "#19166e",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 110
  },
  "hsl": {
    "h": 242.045,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28126,
    "c": 0.14411,
    "h": 273.5
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#19166E
secondary
#A1A43C
accent
#EA3EE4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #19166E

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

Preview Lab → · Contrast checker → · Palette generator →

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