#130C51#130C51

#130C51 is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.117 H 276.2°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#130C51
RGBrgb(19, 12, 81)
HSLhsl(246, 74%, 18%)
HSVhsv(246, 85%, 32%)
CMYKcmyk(76.5%, 85.2%, 0%, 68.2%)
CIE-LABlab(8.95, 27.78, -40.31)
CIE-LCHlch(8.95, 48.96, 304.57°)
OKLaboklab(22.73% 0.0126 -0.1165)
OKLCHoklch(22.73% 0.117 276.2)
XYZxyz(1.8847, 0.9953, 7.8758)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C51 #4A510C
analogous
#0C2751 #130C51 #350C51
triadic
#130C51 #51130C #0C5113
tetradic
#130C51 #510C27 #4A510C #0C5135
square
#130C51 #510C27 #4A510C #0C5135
split-complementary
#130C51 #51350C #27510C
monochromatic
#06041B #06041C #130C51 #201486 #2C1CBC

Accessibility & contrast

On white

17.51
#130C51 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130C51
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C51#FFFFFF#000000##FFFFFF
##130C511.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C53
Deuteranopia (green-blind)
#001650
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #130c51;
/* rgb */ color: rgb(19, 12, 81);
/* oklch */ color: oklch(22.7% 0.117 276.2);
Tailwind
colors: {
  custom: {
    50: '#5c4c83',
    500: '#130c51',
    950: '#000000',
  },
}
SCSS
$custom: #130c51;
$custom-light: #5c4c83;
$custom-dark: #000000;
JSON
{
  "hex": "#130c51",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 81
  },
  "hsl": {
    "h": 246.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.22732,
    "c": 0.11721,
    "h": 276.2
  },
  "luminance": 0.00995
}

Semantic roles & 50–950 ramp

primary
#130C51
secondary
#838C2C
accent
#F137DE
background
#F5F4F8
surface
#E9E7EF
border
#C5C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #130C51

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

Preview Lab → · Contrast checker → · Palette generator →

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