#19168C#19168C

#19168C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.182 H 270.6°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#19168C
RGBrgb(25, 22, 140)
HSLhsl(242, 73%, 32%)
HSVhsv(242, 84%, 55%)
CMYKcmyk(82.1%, 84.3%, 0%, 45.1%)
CIE-LABlab(18.68, 42.95, -62.73)
CIE-LCHlch(18.68, 76.02, 304.40°)
OKLaboklab(31.78% 0.0018 -0.1816)
OKLCHoklch(31.78% 0.182 270.6)
XYZxyz(5.4198, 2.6733, 25.0362)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19168C #898C16
analogous
#164E8C #19168C #54168C
triadic
#19168C #8C1916 #168C19
tetradic
#19168C #8C164E #898C16 #168C54
square
#19168C #8C164E #898C16 #168C54
split-complementary
#19168C #8C5416 #4E8C16
monochromatic
#060522 #100E57 #19168C #221EC1 #403CE0

Accessibility & contrast

On white

13.68
#19168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19168C
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19168C#FFFFFF#000000##FFFFFF
##19168C1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338F
Deuteranopia (green-blind)
#00278A
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19168c;
/* rgb */ color: rgb(25, 22, 140);
/* oklch */ color: oklch(31.8% 0.182 270.6);
Tailwind
colors: {
  custom: {
    50: '#6e57af',
    500: '#19168c',
    950: '#000000',
  },
}
SCSS
$custom: #19168c;
$custom-light: #6e57af;
$custom-dark: #000000;
JSON
{
  "hex": "#19168c",
  "rgb": {
    "r": 25,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 241.525,
    "s": 72.84,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31783,
    "c": 0.18157,
    "h": 270.6
  },
  "luminance": 0.02674
}

Semantic roles & 50–950 ramp

primary
#19168C
secondary
#BCC03E
accent
#F038EB
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #19168C

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

Preview Lab → · Contrast checker → · Palette generator →

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