#13337F#13337F

#13337F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.134 H 263.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#13337F
RGBrgb(19, 51, 127)
HSLhsl(222, 74%, 29%)
HSVhsv(222, 85%, 50%)
CMYKcmyk(85%, 59.8%, 0%, 50.2%)
CIE-LABlab(23.80, 19.27, -46.16)
CIE-LCHlch(23.80, 50.02, 292.66°)
OKLaboklab(35% -0.0149 -0.1334)
OKLCHoklch(35% 0.134 263.6)
XYZxyz(5.2818, 4.0378, 20.5755)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13337F #7F5F13
analogous
#13697F #13337F #29137F
triadic
#13337F #7F1333 #337F13
tetradic
#13337F #7F1369 #7F5F13 #137F29
square
#13337F #7F1369 #7F5F13 #137F29
split-complementary
#13337F #7F2913 #697F13
monochromatic
#040B1B #0B1E4A #13337F #1B48B4 #2D62E0

Accessibility & contrast

On white

11.62
#13337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#13337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13337F
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13337F#FFFFFF#000000##FFFFFF
##13337F1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#00347E
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #13337f;
/* rgb */ color: rgb(19, 51, 127);
/* oklch */ color: oklch(35.0% 0.134 263.6);
Tailwind
colors: {
  custom: {
    50: '#666aa5',
    500: '#13337f',
    950: '#000000',
  },
}
SCSS
$custom: #13337f;
$custom-light: #666aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#13337f",
  "rgb": {
    "r": 19,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 222.222,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35004,
    "c": 0.13424,
    "h": 263.6
  },
  "luminance": 0.04038
}

Semantic roles & 50–950 ramp

primary
#13337F
secondary
#B49039
accent
#BA37F1
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #13337F

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

Preview Lab → · Contrast checker → · Palette generator →

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