#130C4C#130C4C

#130C4C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.1% C 0.110 H 277.3°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#130C4C
RGBrgb(19, 12, 76)
HSLhsl(247, 73%, 17%)
HSVhsv(247, 84%, 30%)
CMYKcmyk(75%, 84.2%, 0%, 70.2%)
CIE-LABlab(8.33, 25.98, -37.88)
CIE-LCHlch(8.33, 45.93, 304.45°)
OKLaboklab(22.12% 0.014 -0.1094)
OKLCHoklch(22.12% 0.11 277.3)
XYZxyz(1.7041, 0.9230, 6.9244)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C4C #454C0C
analogous
#0C254C #130C4C #330C4C
triadic
#130C4C #4C130C #0C4C13
tetradic
#130C4C #4C0C25 #454C0C #0C4C33
square
#130C4C #4C0C25 #454C0C #0C4C33
split-complementary
#130C4C #4C330C #254C0C
monochromatic
#07041A #07041A #130C4C #201481 #2D1DB6

Accessibility & contrast

On white

17.73
#130C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C4C
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C4C#FFFFFF#000000##FFFFFF
##130C4C1.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00154B
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #130c4c;
/* rgb */ color: rgb(19, 12, 76);
/* oklch */ color: oklch(22.1% 0.110 277.3);
Tailwind
colors: {
  custom: {
    50: '#5b4c7f',
    500: '#130c4c',
    950: '#000000',
  },
}
SCSS
$custom: #130c4c;
$custom-light: #5b4c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#130c4c",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 246.563,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22115,
    "c": 0.11034,
    "h": 277.3
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#130C4C
secondary
#7E882C
accent
#EF38DB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #130C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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