#130C40#130C40

#130C40 is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.7% C 0.093 H 280.6°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#130C40
RGBrgb(19, 12, 64)
HSLhsl(248, 68%, 15%)
HSVhsv(248, 81%, 25%)
CMYKcmyk(70.3%, 81.2%, 0%, 74.9%)
CIE-LABlab(6.97, 21.34, -31.68)
CIE-LCHlch(6.97, 38.19, 303.97°)
OKLaboklab(20.69% 0.0171 -0.0916)
OKLCHoklch(20.69% 0.093 280.6)
XYZxyz(1.3252, 0.7715, 4.9286)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C40 #39400C
analogous
#0C1F40 #130C40 #2D0C40
triadic
#130C40 #40130C #0C4013
tetradic
#130C40 #400C1F #39400C #0C402D
square
#130C40 #400C1F #39400C #0C402D
split-complementary
#130C40 #402D0C #1F400C
monochromatic
#08051A #08051A #130C40 #221674 #321FA7

Accessibility & contrast

On white

18.19
#130C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#130C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C40
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C40#FFFFFF#000000##FFFFFF
##130C401.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00133F
Tritanopia (blue-blind)
#001A25
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #130c40;
/* rgb */ color: rgb(19, 12, 64);
/* oklch */ color: oklch(20.7% 0.093 280.6);
Tailwind
colors: {
  custom: {
    50: '#584b75',
    500: '#130c40',
    950: '#000000',
  },
}
SCSS
$custom: #130c40;
$custom-light: #584b75;
$custom-dark: #000000;
JSON
{
  "hex": "#130c40",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 248.077,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.20692,
    "c": 0.09317,
    "h": 280.6
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#130C40
secondary
#717C2C
accent
#EB3DD4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #130C40

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

Preview Lab → · Contrast checker → · Palette generator →

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