#19126F#19126F

#19126F is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.7% C 0.149 H 274.0°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#19126F
RGBrgb(25, 18, 111)
HSLhsl(245, 72%, 25%)
HSVhsv(245, 84%, 44%)
CMYKcmyk(77.5%, 83.8%, 0%, 56.5%)
CIE-LABlab(14.32, 35.41, -51.46)
CIE-LCHlch(14.32, 62.46, 304.53°)
OKLaboklab(27.7% 0.0103 -0.1488)
OKLCHoklch(27.7% 0.149 274)
XYZxyz(3.4855, 1.7866, 15.1970)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19126F #686F12
analogous
#12396F #19126F #47126F
triadic
#19126F #6F1912 #126F19
tetradic
#19126F #6F1239 #686F12 #126F47
square
#19126F #6F1239 #686F12 #126F47
split-complementary
#19126F #6F4712 #396F12
monochromatic
#06041A #0D093A #19126F #251BA4 #3123D8

Accessibility & contrast

On white

15.47
#19126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#19126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19126F
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19126F#FFFFFF#000000##FFFFFF
##19126F1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#00206D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #19126f;
/* rgb */ color: rgb(25, 18, 111);
/* oklch */ color: oklch(27.7% 0.149 274.0);
Tailwind
colors: {
  custom: {
    50: '#665299',
    500: '#19126f',
    950: '#000000',
  },
}
SCSS
$custom: #19126f;
$custom-light: #665299;
$custom-dark: #000000;
JSON
{
  "hex": "#19126f",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 244.516,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27699,
    "c": 0.14921,
    "h": 274
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19126F

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

Preview Lab → · Contrast checker → · Palette generator →

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