#13197E#13197E

#13197E is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.163 H 269.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#13197E
RGBrgb(19, 25, 126)
HSLhsl(237, 74%, 28%)
HSVhsv(237, 85%, 49%)
CMYKcmyk(84.9%, 80.2%, 0%, 50.6%)
CIE-LABlab(17.18, 36.27, -56.40)
CIE-LCHlch(17.18, 67.06, 302.74°)
OKLaboklab(30.14% -0.0026 -0.1634)
OKLCHoklch(30.14% 0.163 269.1)
XYZxyz(4.3808, 2.3395, 19.9553)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13197E #7E7813
analogous
#134E7E #13197E #43137E
triadic
#13197E #7E1319 #197E13
tetradic
#13197E #7E134E #7E7813 #137E43
square
#13197E #7E134E #7E7813 #137E43
split-complementary
#13197E #7E4313 #4E7E13
monochromatic
#04051B #0B0E49 #13197E #1B24B3 #2C36DF

Accessibility & contrast

On white

14.31
#13197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#13197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13197E
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13197E#FFFFFF#000000##FFFFFF
##13197E1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #13197e;
/* rgb */ color: rgb(19, 25, 126);
/* oklch */ color: oklch(30.1% 0.163 269.1);
Tailwind
colors: {
  custom: {
    50: '#6857a5',
    500: '#13197e',
    950: '#000000',
  },
}
SCSS
$custom: #13197e;
$custom-light: #6857a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13197e",
  "rgb": {
    "r": 19,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 236.636,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3014,
    "c": 0.16343,
    "h": 269.1
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#13197E
secondary
#B4AD39
accent
#E637F0
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F

Preview Lab

Preview with #13197E

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

Preview Lab → · Contrast checker → · Palette generator →

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