#19128F#19128F

#19128F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.7% C 0.188 H 270.6°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#19128F
RGBrgb(25, 18, 143)
HSLhsl(243, 78%, 32%)
HSVhsv(243, 87%, 56%)
CMYKcmyk(82.5%, 87.4%, 0%, 43.9%)
CIE-LABlab(18.46, 45.71, -64.97)
CIE-LCHlch(18.46, 79.44, 305.13°)
OKLaboklab(31.74% 0.0018 -0.188)
OKLCHoklch(31.74% 0.188 270.6)
XYZxyz(5.5735, 2.6218, 26.1936)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19128F #888F12
analogous
#124A8F #19128F #58128F
triadic
#19128F #8F1912 #128F19
tetradic
#19128F #8F124A #888F12 #128F58
square
#19128F #8F124A #888F12 #128F58
split-complementary
#19128F #8F5812 #4A8F12
monochromatic
#060422 #0F0B59 #19128F #2319C5 #4036E6

Accessibility & contrast

On white

13.78
#19128F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#19128F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19128F
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19128F#FFFFFF#000000##FFFFFF
##19128F1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00268D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #19128f;
/* rgb */ color: rgb(25, 18, 143);
/* oklch */ color: oklch(31.7% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#6f55b1',
    500: '#19128f',
    950: '#000000',
  },
}
SCSS
$custom: #19128f;
$custom-light: #6f55b1;
$custom-dark: #000000;
JSON
{
  "hex": "#19128f",
  "rgb": {
    "r": 25,
    "g": 18,
    "b": 143
  },
  "hsl": {
    "h": 243.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.31739,
    "c": 0.18798,
    "h": 270.6
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#19128F
secondary
#BBC33A
accent
#F434E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19128F

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

Preview Lab → · Contrast checker → · Palette generator →

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