#130C4D#130C4D

#130C4D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 22.2% C 0.112 H 277.0°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#130C4D
RGBrgb(19, 12, 77)
HSLhsl(246, 73%, 17%)
HSVhsv(246, 84%, 30%)
CMYKcmyk(75.3%, 84.4%, 0%, 69.8%)
CIE-LABlab(8.46, 26.34, -38.37)
CIE-LCHlch(8.46, 46.54, 304.47°)
OKLaboklab(22.24% 0.0137 -0.1109)
OKLCHoklch(22.24% 0.112 277)
XYZxyz(1.7391, 0.9371, 7.1090)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C4D #464D0C
analogous
#0C254D #130C4D #340C4D
triadic
#130C4D #4D130C #0C4D13
tetradic
#130C4D #4D0C25 #464D0C #0C4D34
square
#130C4D #4D0C25 #464D0C #0C4D34
split-complementary
#130C4D #4D340C #254D0C
monochromatic
#07041A #07041A #130C4D #201482 #2D1DB7

Accessibility & contrast

On white

17.69
#130C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#130C4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C4D
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C4D#FFFFFF#000000##FFFFFF
##130C4D1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4F
Deuteranopia (green-blind)
#00164C
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #130c4d;
/* rgb */ color: rgb(19, 12, 77);
/* oklch */ color: oklch(22.2% 0.112 277.0);
Tailwind
colors: {
  custom: {
    50: '#5b4c80',
    500: '#130c4d',
    950: '#000000',
  },
}
SCSS
$custom: #130c4d;
$custom-light: #5b4c80;
$custom-dark: #000000;
JSON
{
  "hex": "#130c4d",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 246.462,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22237,
    "c": 0.11172,
    "h": 277
  },
  "luminance": 0.00937
}

Semantic roles & 50–950 ramp

primary
#130C4D
secondary
#7F892C
accent
#F038DC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #130C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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