#19127B#19127B

#19127B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.164 H 272.5°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#19127B
RGBrgb(25, 18, 123)
HSLhsl(244, 74%, 28%)
HSVhsv(244, 85%, 48%)
CMYKcmyk(79.7%, 85.4%, 0%, 51.8%)
CIE-LABlab(15.84, 39.38, -56.69)
CIE-LCHlch(15.84, 69.03, 304.79°)
OKLaboklab(29.19% 0.0071 -0.164)
OKLCHoklch(29.19% 0.164 272.5)
XYZxyz(4.1912, 2.0689, 18.9135)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19127B #747B12
analogous
#123F7B #19127B #4D127B
triadic
#19127B #7B1912 #127B19
tetradic
#19127B #7B123F #747B12 #127B4D
square
#19127B #7B123F #747B12 #127B4D
split-complementary
#19127B #7B4D12 #3F7B12
monochromatic
#05041B #0E0A46 #19127B #241AB0 #3428E0

Accessibility & contrast

On white

14.85
#19127B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#19127B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19127B
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19127B#FFFFFF#000000##FFFFFF
##19127B1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7E
Deuteranopia (green-blind)
#002279
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #19127b;
/* rgb */ color: rgb(25, 18, 123);
/* oklch */ color: oklch(29.2% 0.164 272.5);
Tailwind
colors: {
  custom: {
    50: '#6a53a2',
    500: '#19127b',
    950: '#000000',
  },
}
SCSS
$custom: #19127b;
$custom-light: #6a53a2;
$custom-dark: #000000;
JSON
{
  "hex": "#19127b",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 123
  },
  "hsl": {
    "h": 244,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29193,
    "c": 0.16415,
    "h": 272.5
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#19127B
secondary
#A9B138
accent
#F137E5
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19127B

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

Preview Lab → · Contrast checker → · Palette generator →

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