#13126F#13126F

#13126F is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.3% C 0.151 H 270.9°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#13126F
RGBrgb(19, 18, 111)
HSLhsl(241, 72%, 25%)
HSVhsv(241, 84%, 44%)
CMYKcmyk(82.9%, 83.8%, 0%, 56.5%)
CIE-LABlab(13.93, 34.96, -52.12)
CIE-LCHlch(13.93, 62.76, 303.85°)
OKLaboklab(27.32% 0.0024 -0.1509)
OKLCHoklch(27.32% 0.151 270.9)
XYZxyz(3.3531, 1.7184, 15.1908)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13126F #6E6F12
analogous
#123F6F #13126F #41126F
triadic
#13126F #6F1312 #126F13
tetradic
#13126F #6F123F #6E6F12 #126F41
square
#13126F #6F123F #6E6F12 #126F41
split-complementary
#13126F #6F4112 #3F6F12
monochromatic
#05041A #0A093A #13126F #1C1BA4 #2523D8

Accessibility & contrast

On white

15.63
#13126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#13126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13126F
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13126F#FFFFFF#000000##FFFFFF
##13126F1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002872
Deuteranopia (green-blind)
#001F6D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #13126f;
/* rgb */ color: rgb(19, 18, 111);
/* oklch */ color: oklch(27.3% 0.151 270.9);
Tailwind
colors: {
  custom: {
    50: '#645299',
    500: '#13126f',
    950: '#000000',
  },
}
SCSS
$custom: #13126f;
$custom-light: #645299;
$custom-dark: #000000;
JSON
{
  "hex": "#13126f",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 240.645,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.27322,
    "c": 0.15091,
    "h": 270.9
  },
  "luminance": 0.01719
}

Semantic roles & 50–950 ramp

primary
#13126F
secondary
#A5A637
accent
#EF39ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #13126F

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

Preview Lab → · Contrast checker → · Palette generator →

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