#19126E#19126E

#19126E is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.148 H 274.1°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#19126E
RGBrgb(25, 18, 110)
HSLhsl(245, 72%, 25%)
HSVhsv(245, 84%, 43%)
CMYKcmyk(77.3%, 83.6%, 0%, 56.9%)
CIE-LABlab(14.20, 35.07, -51.01)
CIE-LCHlch(14.20, 61.90, 304.50°)
OKLaboklab(27.58% 0.0106 -0.1475)
OKLCHoklch(27.58% 0.148 274.1)
XYZxyz(3.4307, 1.7647, 14.9086)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19126E #676E12
analogous
#12396E #19126E #47126E
triadic
#19126E #6E1912 #126E19
tetradic
#19126E #6E1239 #676E12 #126E47
square
#19126E #6E1239 #676E12 #126E47
split-complementary
#19126E #6E4712 #396E12
monochromatic
#06041A #0D0939 #19126E #251BA3 #3123D7

Accessibility & contrast

On white

15.52
#19126E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#19126E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19126E
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19126E#FFFFFF#000000##FFFFFF
##19126E1.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00206C
Tritanopia (blue-blind)
#002F40
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #19126e;
/* rgb */ color: rgb(25, 18, 110);
/* oklch */ color: oklch(27.6% 0.148 274.1);
Tailwind
colors: {
  custom: {
    50: '#665299',
    500: '#19126e',
    950: '#000000',
  },
}
SCSS
$custom: #19126e;
$custom-light: #665299;
$custom-dark: #000000;
JSON
{
  "hex": "#19126e",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 110
  },
  "hsl": {
    "h": 244.565,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27576,
    "c": 0.14793,
    "h": 274.1
  },
  "luminance": 0.01765
}

Semantic roles & 50–950 ramp

primary
#19126E
secondary
#9DA537
accent
#EF39E1
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #19126E

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

Preview Lab → · Contrast checker → · Palette generator →

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