#130C52#130C52

#130C52 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.9% C 0.119 H 275.9°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#130C52
RGBrgb(19, 12, 82)
HSLhsl(246, 74%, 18%)
HSVhsv(246, 85%, 32%)
CMYKcmyk(76.8%, 85.4%, 0%, 67.8%)
CIE-LABlab(9.08, 28.14, -40.79)
CIE-LCHlch(9.08, 49.55, 304.60°)
OKLaboklab(22.86% 0.0123 -0.1179)
OKLCHoklch(22.86% 0.119 275.9)
XYZxyz(1.9225, 1.0104, 8.0747)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C52 #4B520C
analogous
#0C2852 #130C52 #360C52
triadic
#130C52 #52130C #0C5213
tetradic
#130C52 #520C28 #4B520C #0C5236
square
#130C52 #520C28 #4B520C #0C5236
split-complementary
#130C52 #52360C #28520C
monochromatic
#06041B #07041D #130C52 #1F1487 #2C1CBD

Accessibility & contrast

On white

17.47
#130C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#130C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C52
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C52#FFFFFF#000000##FFFFFF
##130C521.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D54
Deuteranopia (green-blind)
#001751
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #130c52;
/* rgb */ color: rgb(19, 12, 82);
/* oklch */ color: oklch(22.9% 0.119 275.9);
Tailwind
colors: {
  custom: {
    50: '#5d4c84',
    500: '#130c52',
    950: '#000000',
  },
}
SCSS
$custom: #130c52;
$custom-light: #5d4c84;
$custom-dark: #000000;
JSON
{
  "hex": "#130c52",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 246,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.22856,
    "c": 0.11856,
    "h": 275.9
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#130C52
secondary
#848D2C
accent
#F137DE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #130C52

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

Preview Lab → · Contrast checker → · Palette generator →

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