#130D4C#130D4C

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

Color values

HEX#130D4C
RGBrgb(19, 13, 76)
HSLhsl(246, 71%, 17%)
HSVhsv(246, 83%, 30%)
CMYKcmyk(75%, 82.9%, 0%, 70.2%)
CIE-LABlab(8.55, 25.37, -37.52)
CIE-LCHlch(8.55, 45.29, 304.06°)
OKLaboklab(22.27% 0.0134 -0.1084)
OKLCHoklch(22.27% 0.109 277)
XYZxyz(1.7166, 0.9479, 6.9286)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130D4C #464C0D
analogous
#0D274C #130D4C #320D4C
triadic
#130D4C #4C130D #0D4C13
tetradic
#130D4C #4C0D27 #464C0D #0D4C32
square
#130D4C #4C0D27 #464C0D #0D4C32
split-complementary
#130D4C #4C320D #274C0D
monochromatic
#07041A #07041A #130D4C #201680 #2D1FB5

Accessibility & contrast

On white

17.65
#130D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130D4C
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130D4C#FFFFFF#000000##FFFFFF
##130D4C1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4E
Deuteranopia (green-blind)
#00164B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #130d4c;
/* rgb */ color: rgb(19, 13, 76);
/* oklch */ color: oklch(22.3% 0.109 277.0);
Tailwind
colors: {
  custom: {
    50: '#5b4d7f',
    500: '#130d4c',
    950: '#000000',
  },
}
SCSS
$custom: #130d4c;
$custom-light: #5b4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#130d4c",
  "rgb": {
    "r": 19,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 245.714,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22267,
    "c": 0.10923,
    "h": 277
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#130D4C
secondary
#7F872E
accent
#EE3ADC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #130D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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