#130C54#130C54

#130C54 is a very dark, vivid blue. Relative luminance 0.010; OKLCH L 23.1% C 0.121 H 275.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#130C54
RGBrgb(19, 12, 84)
HSLhsl(246, 75%, 19%)
HSVhsv(246, 86%, 33%)
CMYKcmyk(77.4%, 85.7%, 0%, 67.1%)
CIE-LABlab(9.33, 28.85, -41.74)
CIE-LCHlch(9.33, 50.74, 304.65°)
OKLaboklab(23.11% 0.0117 -0.1207)
OKLCHoklch(23.11% 0.121 275.5)
XYZxyz(1.9997, 1.0413, 8.4814)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C54 #4D540C
analogous
#0C2954 #130C54 #370C54
triadic
#130C54 #54130C #0C5413
tetradic
#130C54 #540C29 #4D540C #0C5437
square
#130C54 #540C29 #4D540C #0C5437
split-complementary
#130C54 #54370C #29540C
monochromatic
#06041B #07041E #130C54 #1F148A #2B1BBF

Accessibility & contrast

On white

17.38
#130C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#130C54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C54
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C54#FFFFFF#000000##FFFFFF
##130C541.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D56
Deuteranopia (green-blind)
#001753
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #130c54;
/* rgb */ color: rgb(19, 12, 84);
/* oklch */ color: oklch(23.1% 0.121 275.5);
Tailwind
colors: {
  custom: {
    50: '#5d4d85',
    500: '#130c54',
    950: '#000000',
  },
}
SCSS
$custom: #130c54;
$custom-light: #5d4d85;
$custom-dark: #000000;
JSON
{
  "hex": "#130c54",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 245.833,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23107,
    "c": 0.12125,
    "h": 275.5
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#130C54
secondary
#868F2D
accent
#F236DF
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #130C54

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

Preview Lab → · Contrast checker → · Palette generator →

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