#19168E#19168E

#19168E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.0% C 0.184 H 270.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#19168E
RGBrgb(25, 22, 142)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 85%, 56%)
CMYKcmyk(82.4%, 84.5%, 0%, 44.3%)
CIE-LABlab(18.94, 43.59, -63.55)
CIE-LCHlch(18.94, 77.06, 304.45°)
OKLaboklab(32.03% 0.0013 -0.1839)
OKLCHoklch(32.03% 0.184 270.4)
XYZxyz(5.5686, 2.7328, 25.8199)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19168E #8B8E16
analogous
#164F8E #19168E #55168E
triadic
#19168E #8E1916 #168E19
tetradic
#19168E #8E164F #8B8E16 #168E55
square
#19168E #8E164F #8B8E16 #168E55
split-complementary
#19168E #8E5516 #4F8E16
monochromatic
#060624 #100E59 #19168E #221EC3 #413DE1

Accessibility & contrast

On white

13.58
#19168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#19168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19168E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19168E#FFFFFF#000000##FFFFFF
##19168E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003491
Deuteranopia (green-blind)
#00288C
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #19168e;
/* rgb */ color: rgb(25, 22, 142);
/* oklch */ color: oklch(32.0% 0.184 270.4);
Tailwind
colors: {
  custom: {
    50: '#6e57b0',
    500: '#19168e',
    950: '#000000',
  },
}
SCSS
$custom: #19168e;
$custom-light: #6e57b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19168e",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 241.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.32033,
    "c": 0.18394,
    "h": 270.4
  },
  "luminance": 0.02733
}

Semantic roles & 50–950 ramp

primary
#19168E
secondary
#BEC13F
accent
#F038EB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19168E

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

Preview Lab → · Contrast checker → · Palette generator →

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