#13165C#13165C

#13165C is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.6% C 0.121 H 272.1°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#13165C
RGBrgb(19, 22, 92)
HSLhsl(238, 66%, 22%)
HSVhsv(238, 79%, 36%)
CMYKcmyk(79.3%, 76.1%, 0%, 63.9%)
CIE-LABlab(12.51, 25.54, -41.91)
CIE-LCHlch(12.51, 49.08, 301.36°)
OKLaboklab(25.64% 0.0045 -0.1213)
OKLCHoklch(25.64% 0.121 272.1)
XYZxyz(2.4866, 1.4847, 10.2787)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13165C #5C5913
analogous
#133B5C #13165C #35135C
triadic
#13165C #5C1316 #165C13
tetradic
#13165C #5C133B #5C5913 #135C35
square
#13165C #5C133B #5C5913 #135C35
split-complementary
#13165C #5C3513 #3B5C13
monochromatic
#050619 #090A29 #13165C #1D228F #282EC1

Accessibility & contrast

On white

16.19
#13165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#13165C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13165C
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13165C#FFFFFF#000000##FFFFFF
##13165C1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#001D5B
Tritanopia (blue-blind)
#002A37
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #13165c;
/* rgb */ color: rgb(19, 22, 92);
/* oklch */ color: oklch(25.6% 0.121 272.1);
Tailwind
colors: {
  custom: {
    50: '#5e538b',
    500: '#13165c',
    950: '#000000',
  },
}
SCSS
$custom: #13165c;
$custom-light: #5e538b;
$custom-dark: #000000;
JSON
{
  "hex": "#13165c",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 237.534,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25642,
    "c": 0.12135,
    "h": 272.1
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#13165C
secondary
#949037
accent
#E23FE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #13165C

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

Preview Lab → · Contrast checker → · Palette generator →

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