#19167F#19167F

#19167F is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.166 H 271.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#19167F
RGBrgb(25, 22, 127)
HSLhsl(242, 70%, 29%)
HSVhsv(242, 83%, 50%)
CMYKcmyk(80.3%, 82.7%, 0%, 50.2%)
CIE-LABlab(17.05, 38.67, -57.24)
CIE-LCHlch(17.05, 69.08, 304.04°)
OKLaboklab(30.17% 0.0049 -0.1657)
OKLCHoklch(30.17% 0.166 271.7)
XYZxyz(4.5173, 2.3123, 20.2828)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19167F #7C7F16
analogous
#16487F #19167F #4E167F
triadic
#19167F #7F1916 #167F19
tetradic
#19167F #7F1648 #7C7F16 #167F4E
square
#19167F #7F1648 #7C7F16 #167F4E
split-complementary
#19167F #7F4E16 #487F16
monochromatic
#05051A #0F0D4B #19167F #231FB3 #3834DC

Accessibility & contrast

On white

14.36
#19167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19167F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19167F#FFFFFF#000000##FFFFFF
##19167F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F82
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #19167f;
/* rgb */ color: rgb(25, 22, 127);
/* oklch */ color: oklch(30.2% 0.166 271.7);
Tailwind
colors: {
  custom: {
    50: '#6a56a5',
    500: '#19167f',
    950: '#000000',
  },
}
SCSS
$custom: #19167f;
$custom-light: #6a56a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19167f",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 241.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.16576,
    "h": 271.7
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#19167F
secondary
#B0B43D
accent
#ED3BE8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #19167F

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

Preview Lab → · Contrast checker → · Palette generator →

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