#130C4A#130C4A

#130C4A is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.9% C 0.108 H 277.8°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#130C4A
RGBrgb(19, 12, 74)
HSLhsl(247, 72%, 17%)
HSVhsv(247, 84%, 29%)
CMYKcmyk(74.3%, 83.8%, 0%, 71%)
CIE-LABlab(8.09, 25.25, -36.89)
CIE-LCHlch(8.09, 44.70, 304.40°)
OKLaboklab(21.87% 0.0145 -0.1066)
OKLCHoklch(21.87% 0.108 277.8)
XYZxyz(1.6357, 0.8957, 6.5639)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C4A #434A0C
analogous
#0C244A #130C4A #320C4A
triadic
#130C4A #4A130C #0C4A13
tetradic
#130C4A #4A0C24 #434A0C #0C4A32
square
#130C4A #4A0C24 #434A0C #0C4A32
split-complementary
#130C4A #4A320C #244A0C
monochromatic
#07041A #07041A #130C4A #21157F #2E1DB3

Accessibility & contrast

On white

17.81
#130C4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#130C4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C4A
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C4A#FFFFFF#000000##FFFFFF
##130C4A1.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001549
Tritanopia (blue-blind)
#001E2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #130c4a;
/* rgb */ color: rgb(19, 12, 74);
/* oklch */ color: oklch(21.9% 0.108 277.8);
Tailwind
colors: {
  custom: {
    50: '#5b4c7d',
    500: '#130c4a',
    950: '#000000',
  },
}
SCSS
$custom: #130c4a;
$custom-light: #5b4c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#130c4a",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 74
  },
  "hsl": {
    "h": 246.774,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.21871,
    "c": 0.10755,
    "h": 277.8
  },
  "luminance": 0.00896
}

Semantic roles & 50–950 ramp

primary
#130C4A
secondary
#7C862C
accent
#EF39DA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #130C4A

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

Preview Lab → · Contrast checker → · Palette generator →

#130C4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva