#19127E#19127E

#19127E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.6% C 0.168 H 272.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#19127E
RGBrgb(25, 18, 126)
HSLhsl(244, 75%, 28%)
HSVhsv(244, 86%, 49%)
CMYKcmyk(80.2%, 85.7%, 0%, 50.6%)
CIE-LABlab(16.23, 40.35, -57.96)
CIE-LCHlch(16.23, 70.63, 304.85°)
OKLaboklab(29.57% 0.0063 -0.1677)
OKLCHoklch(29.57% 0.168 272.1)
XYZxyz(4.3818, 2.1452, 19.9177)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19127E #777E12
analogous
#12417E #19127E #4F127E
triadic
#19127E #7E1912 #127E19
tetradic
#19127E #7E1241 #777E12 #127E4F
square
#19127E #7E1241 #777E12 #127E4F
split-complementary
#19127E #7E4F12 #417E12
monochromatic
#05041B #0E0A48 #19127E #241AB4 #362AE1

Accessibility & contrast

On white

14.69
#19127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19127E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19127E#FFFFFF#000000##FFFFFF
##19127E1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00237C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #19127e;
/* rgb */ color: rgb(25, 18, 126);
/* oklch */ color: oklch(29.6% 0.168 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a54a5',
    500: '#19127e',
    950: '#000000',
  },
}
SCSS
$custom: #19127e;
$custom-light: #6a54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#19127e",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 243.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29571,
    "c": 0.16781,
    "h": 272.1
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#19127E
secondary
#ACB438
accent
#F236E5
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #19127E

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

Preview Lab → · Contrast checker → · Palette generator →

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