#13126A#13126A

#13126A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.144 H 271.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#13126A
RGBrgb(19, 18, 106)
HSLhsl(241, 71%, 24%)
HSVhsv(241, 83%, 42%)
CMYKcmyk(82.1%, 83%, 0%, 58.4%)
CIE-LABlab(13.30, 33.21, -49.90)
CIE-LCHlch(13.30, 59.94, 303.65°)
OKLaboklab(26.69% 0.0036 -0.1445)
OKLCHoklch(26.69% 0.145 271.4)
XYZxyz(3.0855, 1.6113, 13.7813)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13126A #696A12
analogous
#123D6A #13126A #3F126A
triadic
#13126A #6A1312 #126A13
tetradic
#13126A #6A123D #696A12 #126A3F
square
#13126A #6A123D #696A12 #126A3F
split-complementary
#13126A #6A3F12 #3D6A12
monochromatic
#05041A #0A0936 #13126A #1C1B9E #2624D3

Accessibility & contrast

On white

15.88
#13126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#13126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13126A
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13126A#FFFFFF#000000##FFFFFF
##13126A1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#001E68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #13126a;
/* rgb */ color: rgb(19, 18, 106);
/* oklch */ color: oklch(26.7% 0.144 271.4);
Tailwind
colors: {
  custom: {
    50: '#635296',
    500: '#13126a',
    950: '#000000',
  },
}
SCSS
$custom: #13126a;
$custom-light: #635296;
$custom-dark: #000000;
JSON
{
  "hex": "#13126a",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 240.682,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.26694,
    "c": 0.1445,
    "h": 271.4
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#13126A
secondary
#A0A236
accent
#EE3AEC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #13126A

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

Preview Lab → · Contrast checker → · Palette generator →

#13126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva