#130F42#130F42

#130F42 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.5% C 0.092 H 278.7°. Best body text is #FFFFFF at 17.88:1 contrast (WCAG AA passes).

Color values

HEX#130F42
RGBrgb(19, 15, 66)
HSLhsl(245, 63%, 16%)
HSVhsv(245, 77%, 26%)
CMYKcmyk(71.2%, 77.3%, 0%, 74.1%)
CIE-LABlab(7.89, 20.25, -31.59)
CIE-LCHlch(7.89, 37.52, 302.66°)
OKLaboklab(21.45% 0.014 -0.0911)
OKLCHoklch(21.45% 0.092 278.7)
XYZxyz(1.4224, 0.8733, 5.2468)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130F42 #3E420F
analogous
#0F2442 #130F42 #2C0F42
triadic
#130F42 #42130F #0F4213
tetradic
#130F42 #420F24 #3E420F #0F422C
square
#130F42 #420F24 #3E420F #0F422C
split-complementary
#130F42 #422C0F #24420F
monochromatic
#070619 #070619 #130F42 #211A74 #3026A6

Accessibility & contrast

On white

17.88
#130F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#130F42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130F42
17.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130F42#FFFFFF#000000##FFFFFF
##130F421.0017.881.1717.88
#FFFFFF17.881.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001944
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#001D27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #130f42;
/* rgb */ color: rgb(19, 15, 66);
/* oklch */ color: oklch(21.5% 0.092 278.7);
Tailwind
colors: {
  custom: {
    50: '#584d77',
    500: '#130f42',
    950: '#000000',
  },
}
SCSS
$custom: #130f42;
$custom-light: #584d77;
$custom-dark: #000000;
JSON
{
  "hex": "#130f42",
  "rgb": {
    "r": 19,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 244.706,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21452,
    "c": 0.09218,
    "h": 278.7
  },
  "luminance": 0.00873
}

Semantic roles & 50–950 ramp

primary
#130F42
secondary
#777C30
accent
#E642D9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #130F42

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

Preview Lab → · Contrast checker → · Palette generator →

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