#19168B#19168B

#19168B is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.180 H 270.6°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#19168B
RGBrgb(25, 22, 139)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 84%, 55%)
CMYKcmyk(82%, 84.2%, 0%, 45.5%)
CIE-LABlab(18.56, 42.62, -62.31)
CIE-LCHlch(18.56, 75.49, 304.37°)
OKLaboklab(31.66% 0.002 -0.1804)
OKLCHoklch(31.66% 0.18 270.6)
XYZxyz(5.3464, 2.6440, 24.6496)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19168B #888B16
analogous
#164E8B #19168B #54168B
triadic
#19168B #8B1916 #168B19
tetradic
#19168B #8B164E #888B16 #168B54
square
#19168B #8B164E #888B16 #168B54
split-complementary
#19168B #8B5416 #4E8B16
monochromatic
#060521 #0F0E56 #19168B #231EC0 #403BE0

Accessibility & contrast

On white

13.73
#19168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#19168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19168B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19168B#FFFFFF#000000##FFFFFF
##19168B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002789
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19168b;
/* rgb */ color: rgb(25, 22, 139);
/* oklch */ color: oklch(31.7% 0.180 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e57ae',
    500: '#19168b',
    950: '#000000',
  },
}
SCSS
$custom: #19168b;
$custom-light: #6e57ae;
$custom-dark: #000000;
JSON
{
  "hex": "#19168b",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 241.538,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31658,
    "c": 0.18037,
    "h": 270.6
  },
  "luminance": 0.02645
}

Semantic roles & 50–950 ramp

primary
#19168B
secondary
#BBBF3E
accent
#EF38EB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #19168B

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

Preview Lab → · Contrast checker → · Palette generator →

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