#13297E#13297E

#13297E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.9% C 0.146 H 266.5°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#13297E
RGBrgb(19, 41, 126)
HSLhsl(228, 74%, 28%)
HSVhsv(228, 85%, 49%)
CMYKcmyk(84.9%, 67.5%, 0%, 50.6%)
CIE-LABlab(20.94, 25.91, -50.19)
CIE-LCHlch(20.94, 56.49, 297.31°)
OKLaboklab(32.85% -0.009 -0.1454)
OKLCHoklch(32.85% 0.146 266.5)
XYZxyz(4.8261, 3.2301, 20.1037)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13297E #7E6813
analogous
#135E7E #13297E #33137E
triadic
#13297E #7E1329 #297E13
tetradic
#13297E #7E135E #7E6813 #137E33
square
#13297E #7E135E #7E6813 #137E33
split-complementary
#13297E #7E3313 #5E7E13
monochromatic
#04091B #0B1849 #13297E #1B3AB3 #2C51DF

Accessibility & contrast

On white

12.76
#13297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#13297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13297E
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13297E#FFFFFF#000000##FFFFFF
##13297E1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #13297e;
/* rgb */ color: rgb(19, 41, 126);
/* oklch */ color: oklch(32.9% 0.146 266.5);
Tailwind
colors: {
  custom: {
    50: '#6662a4',
    500: '#13297e',
    950: '#000000',
  },
}
SCSS
$custom: #13297e;
$custom-light: #6662a4;
$custom-dark: #000000;
JSON
{
  "hex": "#13297e",
  "rgb": {
    "r": 19,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 227.664,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32854,
    "c": 0.14565,
    "h": 266.5
  },
  "luminance": 0.03231
}

Semantic roles & 50–950 ramp

primary
#13297E
secondary
#B49A39
accent
#CA37F0
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #13297E

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

Preview Lab → · Contrast checker → · Palette generator →

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