#13127E#13127E

#13127E is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.169 H 269.7°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#13127E
RGBrgb(19, 18, 126)
HSLhsl(241, 75%, 28%)
HSVhsv(241, 86%, 49%)
CMYKcmyk(84.9%, 85.7%, 0%, 50.6%)
CIE-LABlab(15.89, 40.02, -58.55)
CIE-LCHlch(15.89, 70.92, 304.36°)
OKLaboklab(29.24% -0.001 -0.1695)
OKLCHoklch(29.24% 0.169 269.7)
XYZxyz(4.2495, 2.0769, 19.9115)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#13127E #7D7E12
analogous
#12477E #13127E #49127E
triadic
#13127E #7E1312 #127E13
tetradic
#13127E #7E1247 #7D7E12 #127E49
square
#13127E #7E1247 #7D7E12 #127E49
split-complementary
#13127E #7E4912 #477E12
monochromatic
#04041B #0B0A48 #13127E #1B1AB4 #2C2AE1

Accessibility & contrast

On white

14.84
#13127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#13127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #13127E
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##13127E#FFFFFF#000000##FFFFFF
##13127E1.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00227C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #13127e;
/* rgb */ color: rgb(19, 18, 126);
/* oklch */ color: oklch(29.2% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#6953a5',
    500: '#13127e',
    950: '#000000',
  },
}
SCSS
$custom: #13127e;
$custom-light: #6953a5;
$custom-dark: #000000;
JSON
{
  "hex": "#13127e",
  "rgb": {
    "r": 19,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 240.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29238,
    "c": 0.16948,
    "h": 269.7
  },
  "luminance": 0.02077
}

Semantic roles & 50–950 ramp

primary
#13127E
secondary
#B3B438
accent
#F236F0
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #13127E

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

Preview Lab → · Contrast checker → · Palette generator →

#13127E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva