#130C38#130C38

#130C38 is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 19.8% C 0.081 H 283.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#130C38
RGBrgb(19, 12, 56)
HSLhsl(250, 65%, 13%)
HSVhsv(250, 79%, 22%)
CMYKcmyk(66.1%, 78.6%, 0%, 78%)
CIE-LABlab(6.20, 17.86, -27.16)
CIE-LCHlch(6.20, 32.50, 303.32°)
OKLaboklab(19.8% 0.0188 -0.0789)
OKLCHoklch(19.8% 0.081 283.4)
XYZxyz(1.1136, 0.6868, 3.8145)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#130C38 #31380C
analogous
#0C1B38 #130C38 #290C38
triadic
#130C38 #38130C #0C3813
tetradic
#130C38 #380C1B #31380C #0C3829
square
#130C38 #380C1B #31380C #0C3829
split-complementary
#130C38 #38290C #1B380C
monochromatic
#090519 #090519 #130C38 #24176A #35229D

Accessibility & contrast

On white

18.46
#130C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#130C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #130C38
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##130C38#FFFFFF#000000##FFFFFF
##130C381.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001237
Tritanopia (blue-blind)
#031720
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #130c38;
/* rgb */ color: rgb(19, 12, 56);
/* oklch */ color: oklch(19.8% 0.081 283.4);
Tailwind
colors: {
  custom: {
    50: '#554b6f',
    500: '#130c38',
    950: '#000000',
  },
}
SCSS
$custom: #130c38;
$custom-light: #554b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#130c38",
  "rgb": {
    "r": 19,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 249.545,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19802,
    "c": 0.08109,
    "h": 283.4
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#130C38
secondary
#69742C
accent
#E840CD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #130C38

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

Preview Lab → · Contrast checker → · Palette generator →

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