#130B40#130B40

#130B40 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.5% C 0.094 H 281.0°. Best body text is #FFFFFF at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#130B40
RGBrgb(19, 11, 64)
HSLhsl(249, 71%, 15%)
HSVhsv(249, 83%, 25%)
CMYKcmyk(70.3%, 82.8%, 0%, 74.9%)
CIE-LABlab(6.76, 21.90, -32.02)
CIE-LCHlch(6.76, 38.80, 304.37°)
OKLaboklab(20.52% 0.018 -0.0927)
OKLCHoklch(20.52% 0.094 281)
XYZxyz(1.3134, 0.7479, 4.9246)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130B40 #38400B
analogous
#0B1D40 #130B40 #2E0B40
triadic
#130B40 #40130B #0B4013
tetradic
#130B40 #400B1D #38400B #0B402E
square
#130B40 #400B1D #38400B #0B402E
split-complementary
#130B40 #402E0B #1D400B
monochromatic
#08041A #08041A #130B40 #231474 #321DA8

Accessibility & contrast

On white

18.27
#130B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130B40
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130B40#FFFFFF#000000##FFFFFF
##130B401.0018.271.1518.27
#FFFFFF18.271.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #130b40;
/* rgb */ color: rgb(19, 11, 64);
/* oklch */ color: oklch(20.5% 0.094 281.0);
Tailwind
colors: {
  custom: {
    50: '#584b75',
    500: '#130b40',
    950: '#000000',
  },
}
SCSS
$custom: #130b40;
$custom-light: #584b75;
$custom-dark: #000000;
JSON
{
  "hex": "#130b40",
  "rgb": {
    "r": 19,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 249.057,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20524,
    "c": 0.09444,
    "h": 281
  },
  "luminance": 0.00748
}

Semantic roles & 50–950 ramp

primary
#130B40
secondary
#707D2A
accent
#ED3AD2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #130B40

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

Preview Lab → · Contrast checker → · Palette generator →

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