#19167E#19167E

#19167E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.165 H 271.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#19167E
RGBrgb(25, 22, 126)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 83%, 49%)
CMYKcmyk(80.2%, 82.5%, 0%, 50.6%)
CIE-LABlab(16.92, 38.33, -56.81)
CIE-LCHlch(16.92, 68.53, 304.01°)
OKLaboklab(30.05% 0.0051 -0.1644)
OKLCHoklch(30.05% 0.165 271.8)
XYZxyz(4.4524, 2.2864, 19.9413)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19167E #7B7E16
analogous
#16477E #19167E #4D167E
triadic
#19167E #7E1916 #167E19
tetradic
#19167E #7E1647 #7B7E16 #167E4D
square
#19167E #7E1647 #7B7E16 #167E4D
split-complementary
#19167E #7E4D16 #477E16
monochromatic
#05051A #0F0D4A #19167E #231FB2 #3833DB

Accessibility & contrast

On white

14.41
#19167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#19167E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19167E
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19167E#FFFFFF#000000##FFFFFF
##19167E1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00247C
Tritanopia (blue-blind)
#00364A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19167e;
/* rgb */ color: rgb(25, 22, 126);
/* oklch */ color: oklch(30.1% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#19167e',
    950: '#000000',
  },
}
SCSS
$custom: #19167e;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19167e",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 241.731,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30051,
    "c": 0.16452,
    "h": 271.8
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19167E

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

Preview Lab → · Contrast checker → · Palette generator →

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