#19127F#19127F

#19127F is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.169 H 272.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#19127F
RGBrgb(25, 18, 127)
HSLhsl(244, 75%, 28%)
HSVhsv(244, 86%, 50%)
CMYKcmyk(80.3%, 85.8%, 0%, 50.2%)
CIE-LABlab(16.36, 40.68, -58.38)
CIE-LCHlch(16.36, 71.16, 304.87°)
OKLaboklab(29.7% 0.006 -0.1689)
OKLCHoklch(29.7% 0.169 272)
XYZxyz(4.4467, 2.1711, 20.2593)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19127F #787F12
analogous
#12417F #19127F #4F127F
triadic
#19127F #7F1912 #127F19
tetradic
#19127F #7F1241 #787F12 #127F4F
square
#19127F #7F1241 #787F12 #127F4F
split-complementary
#19127F #7F4F12 #417F12
monochromatic
#05041B #0E0A49 #19127F #241AB5 #362BE1

Accessibility & contrast

On white

14.64
#19127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#19127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19127F
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19127F#FFFFFF#000000##FFFFFF
##19127F1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E82
Deuteranopia (green-blind)
#00237D
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #19127f;
/* rgb */ color: rgb(25, 18, 127);
/* oklch */ color: oklch(29.7% 0.169 272.0);
Tailwind
colors: {
  custom: {
    50: '#6b54a5',
    500: '#19127f',
    950: '#000000',
  },
}
SCSS
$custom: #19127f;
$custom-light: #6b54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19127f",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 243.853,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.29697,
    "c": 0.16902,
    "h": 272
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#19127F
secondary
#ADB538
accent
#F236E6
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #19127F

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

Preview Lab → · Contrast checker → · Palette generator →

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