#1D105F#1D105F

#1D105F is a dark, vivid blue. Relative luminance 0.015; OKLCH L 25.8% C 0.129 H 279.8°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#1D105F
RGBrgb(29, 16, 95)
HSLhsl(250, 71%, 22%)
HSVhsv(250, 83%, 37%)
CMYKcmyk(69.5%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.34, 31.48, -44.18)
CIE-LCHlch(12.34, 54.25, 305.47°)
OKLaboklab(25.83% 0.022 -0.1275)
OKLCHoklch(25.83% 0.129 279.8)
XYZxyz(2.7569, 1.4578, 10.9604)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105F #525F10
analogous
#102B5F #1D105F #45105F
triadic
#1D105F #5F1D10 #105F1D
tetradic
#1D105F #5F102B #525F10 #105F45
square
#1D105F #5F102B #525F10 #105F45
split-complementary
#1D105F #5F4510 #2B5F10
monochromatic
#08041A #0D072B #1D105F #2D1993 #3D22C8

Accessibility & contrast

On white

16.26
#1D105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1D105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D105F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105F#FFFFFF#000000##FFFFFF
##1D105F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002361
Deuteranopia (green-blind)
#001D5E
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d105f;
/* rgb */ color: rgb(29, 16, 95);
/* oklch */ color: oklch(25.8% 0.129 279.8);
Tailwind
colors: {
  custom: {
    50: '#64508d',
    500: '#1d105f',
    950: '#000000',
  },
}
SCSS
$custom: #1d105f;
$custom-light: #64508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105f",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 249.873,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.25828,
    "c": 0.12943,
    "h": 279.8
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#1D105F
secondary
#879833
accent
#EE3AD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105F

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

Preview Lab → · Contrast checker → · Palette generator →

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