#13166D#13166D

#13166D is a dark, vivid blue. Relative luminance 0.018; OKLCH L 27.6% C 0.144 H 270.6°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#13166D
RGBrgb(19, 22, 109)
HSLhsl(238, 70%, 25%)
HSVhsv(238, 83%, 43%)
CMYKcmyk(82.6%, 79.8%, 0%, 57.3%)
CIE-LABlab(14.49, 31.93, -49.89)
CIE-LCHlch(14.49, 59.24, 302.62°)
OKLaboklab(27.64% 0.0015 -0.1445)
OKLCHoklch(27.64% 0.145 270.6)
XYZxyz(3.3148, 1.8160, 14.6409)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13166D #6D6A13
analogous
#13436D #13166D #3D136D
triadic
#13166D #6D1316 #166D13
tetradic
#13166D #6D1343 #6D6A13 #136D3D
square
#13166D #6D1343 #6D6A13 #136D3D
split-complementary
#13166D #6D3D13 #436D13
monochromatic
#05051A #0A0B39 #13166D #1C21A1 #252BD5

Accessibility & contrast

On white

15.40
#13166D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#13166D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13166D
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13166D#FFFFFF#000000##FFFFFF
##13166D1.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00206B
Tritanopia (blue-blind)
#003040
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #13166d;
/* rgb */ color: rgb(19, 22, 109);
/* oklch */ color: oklch(27.6% 0.144 270.6);
Tailwind
colors: {
  custom: {
    50: '#635498',
    500: '#13166d',
    950: '#000000',
  },
}
SCSS
$custom: #13166d;
$custom-light: #635498;
$custom-dark: #000000;
JSON
{
  "hex": "#13166d",
  "rgb": {
    "r": 19,
    "g": 22,
    "b": 109
  },
  "hsl": {
    "h": 238,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.27641,
    "c": 0.1445,
    "h": 270.6
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#13166D
secondary
#A4A038
accent
#E73BED
background
#F6F4F9
surface
#EBE8F2
border
#C6C4CC
text
#06030E
muted
#7A787E

Preview Lab

Preview with #13166D

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

Preview Lab → · Contrast checker → · Palette generator →

#13166D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva