#1D139A#1D139A

#1D139A is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.5% C 0.199 H 271.1°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#1D139A
RGBrgb(29, 19, 154)
HSLhsl(244, 78%, 34%)
HSVhsv(244, 88%, 60%)
CMYKcmyk(81.2%, 87.7%, 0%, 39.6%)
CIE-LABlab(20.28, 48.83, -68.75)
CIE-LCHlch(20.28, 84.32, 305.38°)
OKLaboklab(33.46% 0.0037 -0.1988)
OKLCHoklch(33.46% 0.199 271.1)
XYZxyz(6.5703, 3.0593, 30.8098)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D139A #909A13
analogous
#134D9A #1D139A #61139A
triadic
#1D139A #9A1D13 #139A1D
tetradic
#1D139A #9A134D #909A13 #139A61
square
#1D139A #9A134D #909A13 #139A61
split-complementary
#1D139A #9A6113 #4D9A13
monochromatic
#08062D #130C64 #1D139A #271AD0 #4C40E7

Accessibility & contrast

On white

13.03
#1D139A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D139A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D139A
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D139A#FFFFFF#000000##FFFFFF
##1D139A1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00379E
Deuteranopia (green-blind)
#002A98
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d139a;
/* rgb */ color: rgb(29, 19, 154);
/* oklch */ color: oklch(33.5% 0.199 271.1);
Tailwind
colors: {
  custom: {
    50: '#7357b9',
    500: '#1d139a',
    950: '#000000',
  },
}
SCSS
$custom: #1d139a;
$custom-light: #7357b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d139a",
  "rgb": {
    "r": 29,
    "g": 19,
    "b": 154
  },
  "hsl": {
    "h": 244.444,
    "s": 78.035,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33457,
    "c": 0.19888,
    "h": 271.1
  },
  "luminance": 0.0306
}

Semantic roles & 50–950 ramp

primary
#1D139A
secondary
#BDC741
accent
#F533E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #1D139A

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

Preview Lab → · Contrast checker → · Palette generator →

#1D139A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva