#19127D#19127D

#19127D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.4% C 0.167 H 272.2°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#19127D
RGBrgb(25, 18, 125)
HSLhsl(244, 75%, 28%)
HSVhsv(244, 86%, 49%)
CMYKcmyk(80%, 85.6%, 0%, 51%)
CIE-LABlab(16.10, 40.03, -57.54)
CIE-LCHlch(16.10, 70.09, 304.83°)
OKLaboklab(29.45% 0.0065 -0.1665)
OKLCHoklch(29.45% 0.167 272.2)
XYZxyz(4.3176, 2.1195, 19.5796)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19127D #767D12
analogous
#12407D #19127D #4E127D
triadic
#19127D #7D1912 #127D19
tetradic
#19127D #7D1240 #767D12 #127D4E
square
#19127D #7D1240 #767D12 #127D4E
split-complementary
#19127D #7D4E12 #407D12
monochromatic
#05041B #0E0A48 #19127D #241AB2 #3529E0

Accessibility & contrast

On white

14.75
#19127D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#19127D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19127D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19127D#FFFFFF#000000##FFFFFF
##19127D1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D80
Deuteranopia (green-blind)
#00237B
Tritanopia (blue-blind)
#003549
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #19127d;
/* rgb */ color: rgb(25, 18, 125);
/* oklch */ color: oklch(29.4% 0.167 272.2);
Tailwind
colors: {
  custom: {
    50: '#6a54a4',
    500: '#19127d',
    950: '#000000',
  },
}
SCSS
$custom: #19127d;
$custom-light: #6a54a4;
$custom-dark: #000000;
JSON
{
  "hex": "#19127d",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 125
  },
  "hsl": {
    "h": 243.925,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29445,
    "c": 0.1666,
    "h": 272.2
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#19127D
secondary
#ABB338
accent
#F136E5
background
#F6F4FA
surface
#ECE8F4
border
#C7C4CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #19127D

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

Preview Lab → · Contrast checker → · Palette generator →

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