#19128E#19128E

#19128E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.187 H 270.6°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#19128E
RGBrgb(25, 18, 142)
HSLhsl(243, 78%, 31%)
HSVhsv(243, 87%, 56%)
CMYKcmyk(82.4%, 87.3%, 0%, 44.3%)
CIE-LABlab(18.33, 45.41, -64.57)
CIE-LCHlch(18.33, 78.94, 305.12°)
OKLaboklab(31.61% 0.0021 -0.1868)
OKLCHoklch(31.61% 0.187 270.6)
XYZxyz(5.4980, 2.5916, 25.7964)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19128E #878E12
analogous
#12498E #19128E #57128E
triadic
#19128E #8E1912 #128E19
tetradic
#19128E #8E1249 #878E12 #128E57
square
#19128E #8E1249 #878E12 #128E57
split-complementary
#19128E #8E5712 #498E12
monochromatic
#060421 #0F0B58 #19128E #2319C4 #3F35E5

Accessibility & contrast

On white

13.83
#19128E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#19128E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19128E
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19128E#FFFFFF#000000##FFFFFF
##19128E1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003391
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19128e;
/* rgb */ color: rgb(25, 18, 142);
/* oklch */ color: oklch(31.6% 0.187 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f55b0',
    500: '#19128e',
    950: '#000000',
  },
}
SCSS
$custom: #19128e;
$custom-light: #6f55b0;
$custom-dark: #000000;
JSON
{
  "hex": "#19128e",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 142
  },
  "hsl": {
    "h": 243.387,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.31611,
    "c": 0.18681,
    "h": 270.6
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#19128E
secondary
#BAC23A
accent
#F434E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19128E

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

Preview Lab → · Contrast checker → · Palette generator →

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