#1D1266#1D1266

#1D1266 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 26.9% C 0.137 H 277.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#1D1266
RGBrgb(29, 18, 102)
HSLhsl(248, 70%, 24%)
HSVhsv(248, 82%, 40%)
CMYKcmyk(71.6%, 82.4%, 0%, 60%)
CIE-LABlab(13.55, 32.74, -46.83)
CIE-LCHlch(13.55, 57.14, 304.96°)
OKLaboklab(26.92% 0.0187 -0.1353)
OKLCHoklch(26.92% 0.137 277.9)
XYZxyz(3.1205, 1.6529, 12.7224)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1266 #5B6612
analogous
#123166 #1D1266 #471266
triadic
#1D1266 #661D12 #12661D
tetradic
#1D1266 #661231 #5B6612 #126647
square
#1D1266 #661231 #5B6612 #126647
split-complementary
#1D1266 #664712 #316612
monochromatic
#07051A #0E0932 #1D1266 #2C1B9A #3B24CE

Accessibility & contrast

On white

15.78
#1D1266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#1D1266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1266
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1266#FFFFFF#000000##FFFFFF
##1D12661.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002668
Deuteranopia (green-blind)
#001F65
Tritanopia (blue-blind)
#002B3C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #1d1266;
/* rgb */ color: rgb(29, 18, 102);
/* oklch */ color: oklch(26.9% 0.137 277.9);
Tailwind
colors: {
  custom: {
    50: '#665293',
    500: '#1d1266',
    950: '#000000',
  },
}
SCSS
$custom: #1d1266;
$custom-light: #665293;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1266",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 247.857,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.26919,
    "c": 0.13658,
    "h": 277.9
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#1D1266
secondary
#909E36
accent
#ED3BD6
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1266

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

Preview Lab → · Contrast checker → · Palette generator →

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