#19238E#19238E

#19238E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.172 H 269.2°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#19238E
RGBrgb(25, 35, 142)
HSLhsl(235, 70%, 33%)
HSVhsv(235, 82%, 56%)
CMYKcmyk(82.4%, 75.4%, 0%, 44.3%)
CIE-LABlab(21.44, 36.42, -59.42)
CIE-LCHlch(21.44, 69.69, 301.51°)
OKLaboklab(33.79% -0.0024 -0.1721)
OKLCHoklch(33.79% 0.172 269.2)
XYZxyz(5.8827, 3.3610, 25.9246)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19238E #8E8419
analogous
#195D8E #19238E #4A198E
triadic
#19238E #8E1923 #238E19
tetradic
#19238E #8E195D #8E8419 #198E4A
square
#19238E #8E195D #8E8419 #198E4A
split-complementary
#19238E #8E4A19 #5D8E19
monochromatic
#070926 #10165A #19238E #2230C2 #4351DE

Accessibility & contrast

On white

12.56
#19238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#19238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19238E
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19238E#FFFFFF#000000##FFFFFF
##19238E1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003991
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #19238e;
/* rgb */ color: rgb(25, 35, 142);
/* oklch */ color: oklch(33.8% 0.172 269.2);
Tailwind
colors: {
  custom: {
    50: '#6d5fb0',
    500: '#19238e',
    950: '#000000',
  },
}
SCSS
$custom: #19238e;
$custom-light: #6d5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#19238e",
  "rgb": {
    "r": 25,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 234.872,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33787,
    "c": 0.17217,
    "h": 269.2
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#19238E
secondary
#BFB444
accent
#DE3BED
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080411
muted
#7B7980

Preview Lab

Preview with #19238E

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

Preview Lab → · Contrast checker → · Palette generator →

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