#13398E#13398E

#13398E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.148 H 263.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#13398E
RGBrgb(19, 57, 142)
HSLhsl(221, 76%, 32%)
HSVhsv(221, 87%, 56%)
CMYKcmyk(86.6%, 59.9%, 0%, 44.3%)
CIE-LABlab(26.78, 21.23, -50.64)
CIE-LCHlch(26.78, 54.91, 292.75°)
OKLaboklab(37.65% -0.0178 -0.1465)
OKLCHoklch(37.65% 0.148 263.1)
XYZxyz(6.6124, 5.0169, 26.2058)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13398E #8E6813
analogous
#13778E #13398E #2A138E
triadic
#13398E #8E1339 #398E13
tetradic
#13398E #8E1377 #8E6813 #138E2A
square
#13398E #8E1377 #8E6813 #138E2A
split-complementary
#13398E #8E2A13 #778E13
monochromatic
#050E22 #0C2358 #13398E #1A4FC4 #376DE4

Accessibility & contrast

On white

10.48
#13398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#13398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13398E
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13398E#FFFFFF#000000##FFFFFF
##13398E1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #13398e;
/* rgb */ color: rgb(19, 57, 142);
/* oklch */ color: oklch(37.6% 0.148 263.1);
Tailwind
colors: {
  custom: {
    50: '#696eb0',
    500: '#13398e',
    950: '#000000',
  },
}
SCSS
$custom: #13398e;
$custom-light: #696eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#13398e",
  "rgb": {
    "r": 19,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 221.463,
    "s": 76.398,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.14755,
    "h": 263.1
  },
  "luminance": 0.05018
}

Semantic roles & 50–950 ramp

primary
#13398E
secondary
#C2983B
accent
#B835F3
background
#F6F6FA
surface
#ECEBF5
border
#C7C6CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #13398E

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

Preview Lab → · Contrast checker → · Palette generator →

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