#19118E#19118E

#19118E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.187 H 270.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#19118E
RGBrgb(25, 17, 142)
HSLhsl(244, 79%, 31%)
HSVhsv(244, 88%, 56%)
CMYKcmyk(82.4%, 88%, 0%, 44.3%)
CIE-LABlab(18.19, 45.83, -64.80)
CIE-LCHlch(18.19, 79.37, 305.27°)
OKLaboklab(31.51% 0.0023 -0.1875)
OKLCHoklch(31.51% 0.187 270.7)
XYZxyz(5.4822, 2.5599, 25.7911)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19118E #868E11
analogous
#11478E #19118E #57118E
triadic
#19118E #8E1911 #118E19
tetradic
#19118E #8E1147 #868E11 #118E57
square
#19118E #8E1147 #868E11 #118E57
split-complementary
#19118E #8E5711 #478E11
monochromatic
#060421 #0F0A57 #19118E #2318C5 #3E33E7

Accessibility & contrast

On white

13.89
#19118E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#19118E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19118E
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19118E#FFFFFF#000000##FFFFFF
##19118E1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003291
Deuteranopia (green-blind)
#00268C
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #19118e;
/* rgb */ color: rgb(25, 17, 142);
/* oklch */ color: oklch(31.5% 0.187 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f55b1',
    500: '#19118e',
    950: '#000000',
  },
}
SCSS
$custom: #19118e;
$custom-light: #6f55b1;
$custom-dark: #000000;
JSON
{
  "hex": "#19118e",
  "rgb": {
    "r": 25,
    "g": 17,
    "b": 142
  },
  "hsl": {
    "h": 243.84,
    "s": 78.616,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31514,
    "c": 0.18747,
    "h": 270.7
  },
  "luminance": 0.02561
}

Semantic roles & 50–950 ramp

primary
#19118E
secondary
#BAC238
accent
#F533E9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #19118E

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

Preview Lab → · Contrast checker → · Palette generator →

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