#19167D#19167D

#19167D is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.163 H 271.9°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#19167D
RGBrgb(25, 22, 125)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 82%, 49%)
CMYKcmyk(80%, 82.4%, 0%, 51%)
CIE-LABlab(16.80, 37.99, -56.38)
CIE-LCHlch(16.80, 67.99, 303.97°)
OKLaboklab(29.93% 0.0053 -0.1632)
OKLCHoklch(29.93% 0.163 271.9)
XYZxyz(4.3882, 2.2607, 19.6031)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19167D #7A7D16
analogous
#16477D #19167D #4D167D
triadic
#19167D #7D1916 #167D19
tetradic
#19167D #7D1647 #7A7D16 #167D4D
square
#19167D #7D1647 #7A7D16 #167D4D
split-complementary
#19167D #7D4D16 #477D16
monochromatic
#05051A #0F0D49 #19167D #231FB1 #3732DB

Accessibility & contrast

On white

14.46
#19167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#19167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19167D
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19167D#FFFFFF#000000##FFFFFF
##19167D1.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00247B
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19167d;
/* rgb */ color: rgb(25, 22, 125);
/* oklch */ color: oklch(29.9% 0.163 271.9);
Tailwind
colors: {
  custom: {
    50: '#6a56a4',
    500: '#19167d',
    950: '#000000',
  },
}
SCSS
$custom: #19167d;
$custom-light: #6a56a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19167d",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 241.748,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.29929,
    "c": 0.16328,
    "h": 271.9
  },
  "luminance": 0.02261
}

Semantic roles & 50–950 ramp

primary
#19167D
secondary
#AFB23D
accent
#ED3BE8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19167D

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

Preview Lab → · Contrast checker → · Palette generator →

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