#19338A#19338A

#19338A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.148 H 266.1°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#19338A
RGBrgb(25, 51, 138)
HSLhsl(226, 69%, 32%)
HSVhsv(226, 82%, 54%)
CMYKcmyk(81.9%, 63%, 0%, 45.9%)
CIE-LABlab(24.98, 24.32, -51.10)
CIE-LCHlch(24.98, 56.60, 295.45°)
OKLaboklab(36.25% -0.0101 -0.1478)
OKLCHoklch(36.25% 0.148 266.1)
XYZxyz(6.1706, 4.4086, 24.5656)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19338A #8A7019
analogous
#196C8A #19338A #38198A
triadic
#19338A #8A1933 #338A19
tetradic
#19338A #8A196C #8A7019 #198A38
square
#19338A #8A196C #8A7019 #198A38
split-complementary
#19338A #8A3819 #6C8A19
monochromatic
#060D22 #102056 #19338A #2246BE #4165DD

Accessibility & contrast

On white

11.16
#19338A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#19338A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19338A
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19338A#FFFFFF#000000##FFFFFF
##19338A1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #19338a;
/* rgb */ color: rgb(25, 51, 138);
/* oklch */ color: oklch(36.2% 0.148 266.1);
Tailwind
colors: {
  custom: {
    50: '#6a6aad',
    500: '#19338a',
    950: '#000000',
  },
}
SCSS
$custom: #19338a;
$custom-light: #6a6aad;
$custom-dark: #000000;
JSON
{
  "hex": "#19338a",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 226.195,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36249,
    "c": 0.14815,
    "h": 266.1
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#19338A
secondary
#BDA142
accent
#C43CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #19338A

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

Preview Lab → · Contrast checker → · Palette generator →

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