#1D108D#1D108D

#1D108D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.5% C 0.186 H 272.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#1D108D
RGBrgb(29, 16, 141)
HSLhsl(246, 80%, 31%)
HSVhsv(246, 89%, 55%)
CMYKcmyk(79.4%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.16, 46.12, -64.21)
CIE-LCHlch(18.16, 79.06, 305.69°)
OKLaboklab(31.53% 0.0078 -0.1857)
OKLCHoklch(31.53% 0.186 272.4)
XYZxyz(5.4981, 2.5543, 25.3974)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D108D #808D10
analogous
#10418D #1D108D #5B108D
triadic
#1D108D #8D1D10 #108D1D
tetradic
#1D108D #8D1041 #808D10 #108D5B
square
#1D108D #8D1041 #808D10 #108D5B
split-complementary
#1D108D #8D5B10 #418D10
monochromatic
#06041F #120A56 #1D108D #2816C4 #4330E7

Accessibility & contrast

On white

13.90
#1D108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D108D
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D108D#FFFFFF#000000##FFFFFF
##1D108D1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003290
Deuteranopia (green-blind)
#00268B
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d108d;
/* rgb */ color: rgb(29, 16, 141);
/* oklch */ color: oklch(31.5% 0.186 272.4);
Tailwind
colors: {
  custom: {
    50: '#7054b0',
    500: '#1d108d',
    950: '#000000',
  },
}
SCSS
$custom: #1d108d;
$custom-light: #7054b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d108d",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 246.24,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31525,
    "c": 0.18583,
    "h": 272.4
  },
  "luminance": 0.02555
}

Semantic roles & 50–950 ramp

primary
#1D108D
secondary
#B3C237
accent
#F632E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1D108D

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

Preview Lab → · Contrast checker → · Palette generator →

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