#1D1264#1D1264

#1D1264 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.7% C 0.134 H 278.3°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#1D1264
RGBrgb(29, 18, 100)
HSLhsl(248, 69%, 23%)
HSVhsv(248, 82%, 39%)
CMYKcmyk(71%, 82%, 0%, 60.8%)
CIE-LABlab(13.31, 32.06, -45.90)
CIE-LCHlch(13.31, 55.98, 304.93°)
OKLaboklab(26.68% 0.0193 -0.1326)
OKLCHoklch(26.68% 0.134 278.3)
XYZxyz(3.0225, 1.6137, 12.2063)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1264 #596412
analogous
#123064 #1D1264 #461264
triadic
#1D1264 #641D12 #12641D
tetradic
#1D1264 #641230 #596412 #126446
square
#1D1264 #641230 #596412 #126446
split-complementary
#1D1264 #644612 #306412
monochromatic
#08051A #0E0930 #1D1264 #2C1B98 #3B25CC

Accessibility & contrast

On white

15.88
#1D1264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#1D1264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1264
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1264#FFFFFF#000000##FFFFFF
##1D12641.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002566
Deuteranopia (green-blind)
#001F63
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #1d1264;
/* rgb */ color: rgb(29, 18, 100);
/* oklch */ color: oklch(26.7% 0.134 278.3);
Tailwind
colors: {
  custom: {
    50: '#655291',
    500: '#1d1264',
    950: '#000000',
  },
}
SCSS
$custom: #1d1264;
$custom-light: #655291;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1264",
  "rgb": {
    "r": 29,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 248.049,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.26684,
    "c": 0.13397,
    "h": 278.3
  },
  "luminance": 0.01614
}

Semantic roles & 50–950 ramp

primary
#1D1264
secondary
#8E9C36
accent
#EC3BD5
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #1D1264

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

Preview Lab → · Contrast checker → · Palette generator →

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