#130C4B#130C4B

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

Color values

HEX#130C4B
RGBrgb(19, 12, 75)
HSLhsl(247, 72%, 17%)
HSVhsv(247, 84%, 29%)
CMYKcmyk(74.7%, 84%, 0%, 70.6%)
CIE-LABlab(8.21, 25.62, -37.38)
CIE-LCHlch(8.21, 45.32, 304.42°)
OKLaboklab(21.99% 0.0143 -0.108)
OKLCHoklch(21.99% 0.109 277.5)
XYZxyz(1.6696, 0.9092, 6.7428)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C4B #444B0C
analogous
#0C254B #130C4B #330C4B
triadic
#130C4B #4B130C #0C4B13
tetradic
#130C4B #4B0C25 #444B0C #0C4B33
square
#130C4B #4B0C25 #444B0C #0C4B33
split-complementary
#130C4B #4B330C #254B0C
monochromatic
#07041A #07041A #130C4B #201480 #2E1DB5

Accessibility & contrast

On white

17.77
#130C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C4B
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C4B#FFFFFF#000000##FFFFFF
##130C4B1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #130c4b;
/* rgb */ color: rgb(19, 12, 75);
/* oklch */ color: oklch(22.0% 0.109 277.5);
Tailwind
colors: {
  custom: {
    50: '#5b4c7e',
    500: '#130c4b',
    950: '#000000',
  },
}
SCSS
$custom: #130c4b;
$custom-light: #5b4c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#130c4b",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 246.667,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.21993,
    "c": 0.10895,
    "h": 277.5
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#130C4B
secondary
#7D872C
accent
#EF39DB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04010A
muted
#79777C

Preview Lab

Preview with #130C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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