#13338D#13338D

#13338D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.154 H 264.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#13338D
RGBrgb(19, 51, 141)
HSLhsl(224, 76%, 31%)
HSVhsv(224, 87%, 55%)
CMYKcmyk(86.5%, 63.8%, 0%, 44.7%)
CIE-LABlab(25.04, 25.01, -52.87)
CIE-LCHlch(25.04, 58.49, 295.31°)
OKLaboklab(36.32% -0.0145 -0.1531)
OKLCHoklch(36.32% 0.154 264.6)
XYZxyz(6.2584, 4.4284, 25.7191)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13338D #8D6D13
analogous
#13708D #13338D #30138D
triadic
#13338D #8D1333 #338D13
tetradic
#13338D #8D1370 #8D6D13 #138D30
square
#13338D #8D1370 #8D6D13 #138D30
split-complementary
#13338D #8D3013 #708D13
monochromatic
#040C21 #0C1F57 #13338D #1A47C3 #3664E4

Accessibility & contrast

On white

11.14
#13338D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#13338D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13338D
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13338D#FFFFFF#000000##FFFFFF
##13338D1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #13338d;
/* rgb */ color: rgb(19, 51, 141);
/* oklch */ color: oklch(36.3% 0.154 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6aaf',
    500: '#13338d',
    950: '#000000',
  },
}
SCSS
$custom: #13338d;
$custom-light: #6a6aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#13338d",
  "rgb": {
    "r": 19,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 224.262,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36319,
    "c": 0.15378,
    "h": 264.6
  },
  "luminance": 0.04429
}

Semantic roles & 50–950 ramp

primary
#13338D
secondary
#C19E3B
accent
#C135F3
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #13338D

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

Preview Lab → · Contrast checker → · Palette generator →

#13338D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva