#1D1D64#1D1D64

#1D1D64 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.5% C 0.121 H 275.5°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#1D1D64
RGBrgb(29, 29, 100)
HSLhsl(240, 55%, 25%)
HSVhsv(240, 71%, 39%)
CMYKcmyk(71%, 71%, 0%, 60.8%)
CIE-LABlab(15.80, 25.15, -41.81)
CIE-LCHlch(15.80, 48.79, 301.03°)
OKLaboklab(28.46% 0.0116 -0.1207)
OKLCHoklch(28.46% 0.121 275.5)
XYZxyz(3.2456, 2.0598, 12.2807)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1D64 #64641D
analogous
#1D4064 #1D1D64 #401D64
triadic
#1D1D64 #641D1D #1D641D
tetradic
#1D1D64 #641D40 #64641D #1D6440
square
#1D1D64 #641D40 #64641D #1D6440
split-complementary
#1D1D64 #64401D #40641D
monochromatic
#070718 #0F0F35 #1D1D64 #2B2B93 #3939C3

Accessibility & contrast

On white

14.87
#1D1D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1D1D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1D64
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1D64#FFFFFF#000000##FFFFFF
##1D1D641.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1d64;
/* rgb */ color: rgb(29, 29, 100);
/* oklch */ color: oklch(28.5% 0.121 275.5);
Tailwind
colors: {
  custom: {
    50: '#645991',
    500: '#1d1d64',
    950: '#000000',
  },
}
SCSS
$custom: #1d1d64;
$custom-light: #645991;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1d64",
  "rgb": {
    "r": 29,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 240,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28456,
    "c": 0.12124,
    "h": 275.5
  },
  "luminance": 0.0206
}

Semantic roles & 50–950 ramp

primary
#1D1D64
secondary
#999944
accent
#DE49DE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1D64

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

Preview Lab → · Contrast checker → · Palette generator →

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