#1D1062#1D1062

#1D1062 is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.2% C 0.133 H 279.1°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#1D1062
RGBrgb(29, 16, 98)
HSLhsl(250, 72%, 22%)
HSVhsv(250, 84%, 38%)
CMYKcmyk(70.4%, 83.7%, 0%, 61.6%)
CIE-LABlab(12.69, 32.49, -45.59)
CIE-LCHlch(12.69, 55.98, 305.47°)
OKLaboklab(26.18% 0.0211 -0.1317)
OKLCHoklch(26.18% 0.133 279.1)
XYZxyz(2.8959, 1.5134, 11.6924)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1062 #556210
analogous
#102C62 #1D1062 #461062
triadic
#1D1062 #621D10 #10621D
tetradic
#1D1062 #62102C #556210 #106246
square
#1D1062 #62102C #556210 #106246
split-complementary
#1D1062 #624610 #2C6210
monochromatic
#08041A #0D072D #1D1062 #2D1997 #3C21CB

Accessibility & contrast

On white

16.12
#1D1062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#1D1062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1062
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1062#FFFFFF#000000##FFFFFF
##1D10621.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002464
Deuteranopia (green-blind)
#001E61
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #1d1062;
/* rgb */ color: rgb(29, 16, 98);
/* oklch */ color: oklch(26.2% 0.133 279.1);
Tailwind
colors: {
  custom: {
    50: '#655190',
    500: '#1d1062',
    950: '#000000',
  },
}
SCSS
$custom: #1d1062;
$custom-light: #655190;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1062",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 98
  },
  "hsl": {
    "h": 249.512,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26181,
    "c": 0.13333,
    "h": 279.1
  },
  "luminance": 0.01514
}

Semantic roles & 50–950 ramp

primary
#1D1062
secondary
#8A9B33
accent
#EF39D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020D
muted
#7A787D

Preview Lab

Preview with #1D1062

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

Preview Lab → · Contrast checker → · Palette generator →

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