#13398A#13398A

#13398A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.142 H 262.7°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#13398A
RGBrgb(19, 57, 138)
HSLhsl(221, 76%, 31%)
HSVhsv(221, 86%, 54%)
CMYKcmyk(86.2%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.44, 19.59, -48.72)
CIE-LCHlch(26.44, 52.51, 291.90°)
OKLaboklab(37.29% -0.0181 -0.1408)
OKLCHoklch(37.29% 0.142 262.7)
XYZxyz(6.3175, 4.8989, 24.6524)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13398A #8A6413
analogous
#13748A #13398A #28138A
triadic
#13398A #8A1339 #398A13
tetradic
#13398A #8A1374 #8A6413 #138A28
square
#13398A #8A1374 #8A6413 #138A28
split-complementary
#13398A #8A2813 #748A13
monochromatic
#040D1E #0C2354 #13398A #1A4FC0 #346CE3

Accessibility & contrast

On white

10.61
#13398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#13398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13398A
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13398A#FFFFFF#000000##FFFFFF
##13398A1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #13398a;
/* rgb */ color: rgb(19, 57, 138);
/* oklch */ color: oklch(37.3% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#686ead',
    500: '#13398a',
    950: '#000000',
  },
}
SCSS
$custom: #13398a;
$custom-light: #686ead;
$custom-dark: #000000;
JSON
{
  "hex": "#13398a",
  "rgb": {
    "r": 19,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 220.84,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37288,
    "c": 0.14197,
    "h": 262.7
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

primary
#13398A
secondary
#BE943A
accent
#B635F2
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #13398A

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

Preview Lab → · Contrast checker → · Palette generator →

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