#19128C#19128C

#19128C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.4% C 0.184 H 270.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#19128C
RGBrgb(25, 18, 140)
HSLhsl(243, 77%, 31%)
HSVhsv(243, 87%, 55%)
CMYKcmyk(82.1%, 87.1%, 0%, 45.1%)
CIE-LABlab(18.06, 44.79, -63.76)
CIE-LCHlch(18.06, 77.92, 305.09°)
OKLaboklab(31.35% 0.0026 -0.1845)
OKLCHoklch(31.35% 0.184 270.8)
XYZxyz(5.3492, 2.5321, 25.0127)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19128C #858C12
analogous
#12488C #19128C #56128C
triadic
#19128C #8C1912 #128C19
tetradic
#19128C #8C1248 #858C12 #128C56
square
#19128C #8C1248 #858C12 #128C56
split-complementary
#19128C #8C5612 #488C12
monochromatic
#060420 #0F0B56 #19128C #2319C2 #3E34E5

Accessibility & contrast

On white

13.94
#19128C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#19128C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19128C
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19128C#FFFFFF#000000##FFFFFF
##19128C1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00268A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #19128c;
/* rgb */ color: rgb(25, 18, 140);
/* oklch */ color: oklch(31.4% 0.184 270.8);
Tailwind
colors: {
  custom: {
    50: '#6e55af',
    500: '#19128c',
    950: '#000000',
  },
}
SCSS
$custom: #19128c;
$custom-light: #6e55af;
$custom-dark: #000000;
JSON
{
  "hex": "#19128c",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 140
  },
  "hsl": {
    "h": 243.443,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31354,
    "c": 0.18448,
    "h": 270.8
  },
  "luminance": 0.02533
}

Semantic roles & 50–950 ramp

primary
#19128C
secondary
#B9C039
accent
#F434E9
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #19128C

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

Preview Lab → · Contrast checker → · Palette generator →

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