#130F40#130F40

#130F40 is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.089 H 279.3°. Best body text is #FFFFFF at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#130F40
RGBrgb(19, 15, 64)
HSLhsl(245, 62%, 15%)
HSVhsv(245, 77%, 25%)
CMYKcmyk(70.3%, 76.6%, 0%, 74.9%)
CIE-LABlab(7.68, 19.45, -30.51)
CIE-LCHlch(7.68, 36.19, 302.52°)
OKLaboklab(21.23% 0.0144 -0.088)
OKLCHoklch(21.23% 0.089 279.3)
XYZxyz(1.3645, 0.8502, 4.9417)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130F40 #3C400F
analogous
#0F2340 #130F40 #2B0F40
triadic
#130F40 #40130F #0F4013
tetradic
#130F40 #400F23 #3C400F #0F402B
square
#130F40 #400F23 #3C400F #0F402B
split-complementary
#130F40 #402B0F #23400F
monochromatic
#070619 #070619 #130F40 #221B72 #3026A3

Accessibility & contrast

On white

17.95
#130F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #130F40
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130F40#FFFFFF#000000##FFFFFF
##130F401.0017.951.1717.95
#FFFFFF17.951.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001942
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #130f40;
/* rgb */ color: rgb(19, 15, 64);
/* oklch */ color: oklch(21.2% 0.089 279.3);
Tailwind
colors: {
  custom: {
    50: '#574d75',
    500: '#130f40',
    950: '#000000',
  },
}
SCSS
$custom: #130f40;
$custom-light: #574d75;
$custom-dark: #000000;
JSON
{
  "hex": "#130f40",
  "rgb": {
    "r": 19,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 244.898,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21233,
    "c": 0.08913,
    "h": 279.3
  },
  "luminance": 0.0085
}

Semantic roles & 50–950 ramp

primary
#130F40
secondary
#747A30
accent
#E543D8
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #130F40

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

Preview Lab → · Contrast checker → · Palette generator →

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