#19338E#19338E

#19338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.154 H 266.2°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#19338E
RGBrgb(25, 51, 142)
HSLhsl(227, 70%, 33%)
HSVhsv(227, 82%, 56%)
CMYKcmyk(82.4%, 64.1%, 0%, 44.3%)
CIE-LABlab(25.34, 25.91, -52.99)
CIE-LCHlch(25.34, 58.99, 296.06°)
OKLaboklab(36.63% -0.0101 -0.1533)
OKLCHoklch(36.63% 0.154 266.2)
XYZxyz(6.4655, 4.5266, 26.1189)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19338E #8E7419
analogous
#196D8E #19338E #3A198E
triadic
#19338E #8E1933 #338E19
tetradic
#19338E #8E196D #8E7419 #198E3A
square
#19338E #8E196D #8E7419 #198E3A
split-complementary
#19338E #8E3A19 #6D8E19
monochromatic
#070E26 #10205A #19338E #2246C2 #4366DE

Accessibility & contrast

On white

11.02
#19338E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#19338E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19338E
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19338E#FFFFFF#000000##FFFFFF
##19338E1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #19338e;
/* rgb */ color: rgb(25, 51, 142);
/* oklch */ color: oklch(36.6% 0.154 266.2);
Tailwind
colors: {
  custom: {
    50: '#6c6ab0',
    500: '#19338e',
    950: '#000000',
  },
}
SCSS
$custom: #19338e;
$custom-light: #6c6ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#19338e",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 226.667,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36629,
    "c": 0.15368,
    "h": 266.2
  },
  "luminance": 0.04527
}

Semantic roles & 50–950 ramp

primary
#19338E
secondary
#BFA444
accent
#C53BED
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #19338E

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

Preview Lab → · Contrast checker → · Palette generator →

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