#19118C#19118C

#19118C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.3% C 0.185 H 270.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#19118C
RGBrgb(25, 17, 140)
HSLhsl(244, 78%, 31%)
HSVhsv(244, 88%, 55%)
CMYKcmyk(82.1%, 87.9%, 0%, 45.1%)
CIE-LABlab(17.92, 45.21, -64.00)
CIE-LCHlch(17.92, 78.36, 305.24°)
OKLaboklab(31.26% 0.0028 -0.1851)
OKLCHoklch(31.26% 0.185 270.9)
XYZxyz(5.3334, 2.5004, 25.0074)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19118C #848C11
analogous
#11478C #19118C #56118C
triadic
#19118C #8C1911 #118C19
tetradic
#19118C #8C1147 #848C11 #118C56
square
#19118C #8C1147 #848C11 #118C56
split-complementary
#19118C #8C5611 #478C11
monochromatic
#06041F #0F0A55 #19118C #2318C3 #3D31E6

Accessibility & contrast

On white

14.00
#19118C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#19118C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19118C
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19118C#FFFFFF#000000##FFFFFF
##19118C1.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328F
Deuteranopia (green-blind)
#00258A
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #19118c;
/* rgb */ color: rgb(25, 17, 140);
/* oklch */ color: oklch(31.3% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#6e55af',
    500: '#19118c',
    950: '#000000',
  },
}
SCSS
$custom: #19118c;
$custom-light: #6e55af;
$custom-dark: #000000;
JSON
{
  "hex": "#19118c",
  "rgb": {
    "r": 25,
    "g": 17,
    "b": 140
  },
  "hsl": {
    "h": 243.902,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31256,
    "c": 0.18515,
    "h": 270.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#19118C
secondary
#B8C138
accent
#F533E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090311
muted
#7B7880

Preview Lab

Preview with #19118C

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

Preview Lab → · Contrast checker → · Palette generator →

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