#19335E#19335E

#19335E is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.5% C 0.083 H 259.9°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#19335E
RGBrgb(25, 51, 94)
HSLhsl(217, 58%, 23%)
HSVhsv(217, 73%, 37%)
CMYKcmyk(73.4%, 45.7%, 0%, 63.1%)
CIE-LABlab(21.51, 6.29, -28.61)
CIE-LCHlch(21.51, 29.29, 282.40°)
OKLaboklab(32.53% -0.0145 -0.0817)
OKLCHoklch(32.53% 0.083 259.9)
XYZxyz(3.6044, 3.3821, 11.0504)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19335E #5E4419
analogous
#19555E #19335E #21195E
triadic
#19335E #5E1933 #335E19
tetradic
#19335E #5E1955 #5E4419 #195E21
square
#19335E #5E1955 #5E4419 #195E21
split-complementary
#19335E #5E2119 #555E19
monochromatic
#060D18 #0C192E #19335E #264D8E #3367BF

Accessibility & contrast

On white

12.53
#19335E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#19335E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19335E
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19335E#FFFFFF#000000##FFFFFF
##19335E1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3760
Deuteranopia (green-blind)
#13315D
Tritanopia (blue-blind)
#003D43
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #19335e;
/* rgb */ color: rgb(25, 51, 94);
/* oklch */ color: oklch(32.5% 0.083 259.9);
Tailwind
colors: {
  custom: {
    50: '#5f6a8c',
    500: '#19335e',
    950: '#000000',
  },
}
SCSS
$custom: #19335e;
$custom-light: #5f6a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#19335e",
  "rgb": {
    "r": 25,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 217.391,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.08299,
    "h": 259.9
  },
  "luminance": 0.03382
}

Semantic roles & 50–950 ramp

primary
#19335E
secondary
#94743F
accent
#A747E1
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #19335E

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

Preview Lab → · Contrast checker → · Palette generator →

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