#13165B#13165B

#13165B is a dark, moderate blue. Relative luminance 0.015; OKLCH L 25.5% C 0.120 H 272.2°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#13165B
RGBrgb(19, 22, 91)
HSLhsl(238, 65%, 22%)
HSVhsv(238, 79%, 36%)
CMYKcmyk(79.1%, 75.8%, 0%, 64.3%)
CIE-LABlab(12.40, 25.15, -41.42)
CIE-LCHlch(12.40, 48.46, 301.27°)
OKLaboklab(25.53% 0.0047 -0.1198)
OKLCHoklch(25.53% 0.12 272.2)
XYZxyz(2.4432, 1.4673, 10.0500)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13165B #5B5813
analogous
#133A5B #13165B #34135B
triadic
#13165B #5B1316 #165B13
tetradic
#13165B #5B133A #5B5813 #135B34
square
#13165B #5B133A #5B5813 #135B34
split-complementary
#13165B #5B3413 #3A5B13
monochromatic
#050619 #080A28 #13165B #1E228E #282EC0

Accessibility & contrast

On white

16.23
#13165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#13165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13165B
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13165B#FFFFFF#000000##FFFFFF
##13165B1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245D
Deuteranopia (green-blind)
#001D5A
Tritanopia (blue-blind)
#002936
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #13165b;
/* rgb */ color: rgb(19, 22, 91);
/* oklch */ color: oklch(25.5% 0.120 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e538a',
    500: '#13165b',
    950: '#000000',
  },
}
SCSS
$custom: #13165b;
$custom-light: #5e538a;
$custom-dark: #000000;
JSON
{
  "hex": "#13165b",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 237.5,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.25529,
    "c": 0.11993,
    "h": 272.2
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#13165B
secondary
#938F37
accent
#E13FE8
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13165B

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

Preview Lab → · Contrast checker → · Palette generator →

#13165B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva