#19127C#19127C

#19127C is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.165 H 272.4°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#19127C
RGBrgb(25, 18, 124)
HSLhsl(244, 75%, 28%)
HSVhsv(244, 85%, 49%)
CMYKcmyk(79.8%, 85.5%, 0%, 51.4%)
CIE-LABlab(15.97, 39.71, -57.11)
CIE-LCHlch(15.97, 69.56, 304.81°)
OKLaboklab(29.32% 0.0068 -0.1652)
OKLCHoklch(29.32% 0.165 272.4)
XYZxyz(4.2541, 2.0941, 19.2449)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19127C #757C12
analogous
#12407C #19127C #4E127C
triadic
#19127C #7C1912 #127C19
tetradic
#19127C #7C1240 #757C12 #127C4E
square
#19127C #7C1240 #757C12 #127C4E
split-complementary
#19127C #7C4E12 #407C12
monochromatic
#05041B #0E0A47 #19127C #241AB1 #3529E0

Accessibility & contrast

On white

14.80
#19127C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19127C
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19127C#FFFFFF#000000##FFFFFF
##19127C1.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7F
Deuteranopia (green-blind)
#00227A
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #19127c;
/* rgb */ color: rgb(25, 18, 124);
/* oklch */ color: oklch(29.3% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#6a54a3',
    500: '#19127c',
    950: '#000000',
  },
}
SCSS
$custom: #19127c;
$custom-light: #6a54a3;
$custom-dark: #000000;
JSON
{
  "hex": "#19127c",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 124
  },
  "hsl": {
    "h": 243.962,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.29319,
    "c": 0.16538,
    "h": 272.4
  },
  "luminance": 0.02095
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #19127C

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

Preview Lab → · Contrast checker → · Palette generator →

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