#130D40#130D40

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

Color values

HEX#130D40
RGBrgb(19, 13, 64)
HSLhsl(247, 66%, 15%)
HSVhsv(247, 80%, 25%)
CMYKcmyk(70.3%, 79.7%, 0%, 74.9%)
CIE-LABlab(7.19, 20.74, -31.31)
CIE-LCHlch(7.19, 37.56, 303.53°)
OKLaboklab(20.87% 0.0162 -0.0904)
OKLCHoklch(20.87% 0.092 280.2)
XYZxyz(1.3376, 0.7964, 4.9327)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130D40 #3A400D
analogous
#0D2040 #130D40 #2D0D40
triadic
#130D40 #40130D #0D4013
tetradic
#130D40 #400D20 #3A400D #0D402D
square
#130D40 #400D20 #3A400D #0D402D
split-complementary
#130D40 #402D0D #20400D
monochromatic
#080519 #080519 #130D40 #221773 #3122A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##130D40#FFFFFF#000000##FFFFFF
##130D401.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)
#001842
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#001B25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #130d40;
/* rgb */ color: rgb(19, 13, 64);
/* oklch */ color: oklch(20.9% 0.092 280.2);
Tailwind
colors: {
  custom: {
    50: '#584c75',
    500: '#130d40',
    950: '#000000',
  },
}
SCSS
$custom: #130d40;
$custom-light: #584c75;
$custom-dark: #000000;
JSON
{
  "hex": "#130d40",
  "rgb": {
    "r": 19,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 247.059,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.20866,
    "c": 0.09186,
    "h": 280.2
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#130D40
secondary
#727C2D
accent
#E93FD5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #130D40

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

Preview Lab → · Contrast checker → · Palette generator →

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