#19167B#19167B

#19167B is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.161 H 272.1°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#19167B
RGBrgb(25, 22, 123)
HSLhsl(242, 70%, 28%)
HSVhsv(242, 82%, 48%)
CMYKcmyk(79.7%, 82.1%, 0%, 51.8%)
CIE-LABlab(16.55, 37.32, -55.51)
CIE-LCHlch(16.55, 66.89, 303.91°)
OKLaboklab(29.69% 0.0058 -0.1607)
OKLCHoklch(29.69% 0.161 272.1)
XYZxyz(4.2618, 2.2101, 18.9370)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19167B #787B16
analogous
#16457B #19167B #4B167B
triadic
#19167B #7B1916 #167B19
tetradic
#19167B #7B1645 #787B16 #167B4B
square
#19167B #7B1645 #787B16 #167B4B
split-complementary
#19167B #7B4B16 #457B16
monochromatic
#05051A #0E0D47 #19167B #241FAF #3631DA

Accessibility & contrast

On white

14.56
#19167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#19167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19167B
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19167B#FFFFFF#000000##FFFFFF
##19167B1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002479
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19167b;
/* rgb */ color: rgb(25, 22, 123);
/* oklch */ color: oklch(29.7% 0.161 272.1);
Tailwind
colors: {
  custom: {
    50: '#6956a2',
    500: '#19167b',
    950: '#000000',
  },
}
SCSS
$custom: #19167b;
$custom-light: #6956a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19167b",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 241.782,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29685,
    "c": 0.16077,
    "h": 272.1
  },
  "luminance": 0.02211
}

Semantic roles & 50–950 ramp

primary
#19167B
secondary
#ADB03D
accent
#EC3BE7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19167B

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

Preview Lab → · Contrast checker → · Palette generator →

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