#19338F#19338F

#19338F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.155 H 266.3°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#19338F
RGBrgb(25, 51, 143)
HSLhsl(227, 70%, 33%)
HSVhsv(227, 83%, 56%)
CMYKcmyk(82.5%, 64.3%, 0%, 43.9%)
CIE-LABlab(25.43, 26.31, -53.46)
CIE-LCHlch(25.43, 59.58, 296.20°)
OKLaboklab(36.73% -0.0101 -0.1547)
OKLCHoklch(36.73% 0.155 266.3)
XYZxyz(6.5409, 4.5567, 26.5161)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19338F #8F7519
analogous
#196E8F #19338F #3A198F
triadic
#19338F #8F1933 #338F19
tetradic
#19338F #8F196E #8F7519 #198F3A
square
#19338F #8F196E #8F7519 #198F3A
split-complementary
#19338F #8F3A19 #6E8F19
monochromatic
#070E27 #10205B #19338F #2246C3 #4466DE

Accessibility & contrast

On white

10.99
#19338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19338F
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19338F#FFFFFF#000000##FFFFFF
##19338F1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #19338f;
/* rgb */ color: rgb(25, 51, 143);
/* oklch */ color: oklch(36.7% 0.155 266.3);
Tailwind
colors: {
  custom: {
    50: '#6c6ab1',
    500: '#19338f',
    950: '#000000',
  },
}
SCSS
$custom: #19338f;
$custom-light: #6c6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#19338f",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 226.78,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36725,
    "c": 0.15505,
    "h": 266.3
  },
  "luminance": 0.04557
}

Semantic roles & 50–950 ramp

primary
#19338F
secondary
#BFA444
accent
#C63BED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #19338F

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

Preview Lab → · Contrast checker → · Palette generator →

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