#13287F#13287F

#13287F is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.148 H 266.7°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#13287F
RGBrgb(19, 40, 127)
HSLhsl(228, 74%, 29%)
HSVhsv(228, 85%, 50%)
CMYKcmyk(85%, 68.5%, 0%, 50.2%)
CIE-LABlab(20.78, 27.00, -51.09)
CIE-LCHlch(20.78, 57.79, 297.86°)
OKLaboklab(32.77% -0.0085 -0.148)
OKLCHoklch(32.77% 0.148 266.7)
XYZxyz(4.8568, 3.1878, 20.4339)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13287F #7F6A13
analogous
#135E7F #13287F #34137F
triadic
#13287F #7F1328 #287F13
tetradic
#13287F #7F135E #7F6A13 #137F34
square
#13287F #7F135E #7F6A13 #137F34
split-complementary
#13287F #7F3413 #5E7F13
monochromatic
#04081B #0B174A #13287F #1B39B4 #2D50E0

Accessibility & contrast

On white

12.82
#13287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#13287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13287F
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13287F#FFFFFF#000000##FFFFFF
##13287F1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #13287f;
/* rgb */ color: rgb(19, 40, 127);
/* oklch */ color: oklch(32.8% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#6761a5',
    500: '#13287f',
    950: '#000000',
  },
}
SCSS
$custom: #13287f;
$custom-light: #6761a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13287f",
  "rgb": {
    "r": 19,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 228.333,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.14825,
    "h": 266.7
  },
  "luminance": 0.03188
}

Semantic roles & 50–950 ramp

primary
#13287F
secondary
#B49D39
accent
#CD37F1
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #13287F

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

Preview Lab → · Contrast checker → · Palette generator →

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