#130C42#130C42

#130C42 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.096 H 280.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#130C42
RGBrgb(19, 12, 66)
HSLhsl(248, 69%, 15%)
HSVhsv(248, 82%, 26%)
CMYKcmyk(71.2%, 81.8%, 0%, 74.1%)
CIE-LABlab(7.18, 22.17, -32.76)
CIE-LCHlch(7.18, 39.55, 304.09°)
OKLaboklab(20.92% 0.0166 -0.0947)
OKLCHoklch(20.92% 0.096 280)
XYZxyz(1.3831, 0.7946, 5.2337)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C42 #3B420C
analogous
#0C2042 #130C42 #2E0C42
triadic
#130C42 #42130C #0C4213
tetradic
#130C42 #420C20 #3B420C #0C422E
square
#130C42 #420C20 #3B420C #0C422E
split-complementary
#130C42 #422E0C #20420C
monochromatic
#07051A #07051A #130C42 #221576 #311FAA

Accessibility & contrast

On white

18.12
#130C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#130C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C42
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C42#FFFFFF#000000##FFFFFF
##130C421.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001441
Tritanopia (blue-blind)
#001B26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #130c42;
/* rgb */ color: rgb(19, 12, 66);
/* oklch */ color: oklch(20.9% 0.096 280.0);
Tailwind
colors: {
  custom: {
    50: '#584b77',
    500: '#130c42',
    950: '#000000',
  },
}
SCSS
$custom: #130c42;
$custom-light: #584b77;
$custom-dark: #000000;
JSON
{
  "hex": "#130c42",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 247.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.20922,
    "c": 0.09611,
    "h": 280
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#130C42
secondary
#737E2C
accent
#EC3CD5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #130C42

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

Preview Lab → · Contrast checker → · Palette generator →

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