#1D1966#1D1966

#1D1966 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.0% C 0.129 H 276.3°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#1D1966
RGBrgb(29, 25, 102)
HSLhsl(243, 61%, 25%)
HSVhsv(243, 75%, 40%)
CMYKcmyk(71.6%, 75.5%, 0%, 60%)
CIE-LABlab(15.04, 28.54, -44.38)
CIE-LCHlch(15.04, 52.76, 302.74°)
OKLaboklab(27.97% 0.0143 -0.1282)
OKLCHoklch(27.97% 0.129 276.3)
XYZxyz(3.2518, 1.9155, 12.7662)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1966 #626619
analogous
#193B66 #1D1966 #441966
triadic
#1D1966 #661D19 #19661D
tetradic
#1D1966 #66193B #626619 #196644
square
#1D1966 #66193B #626619 #196644
split-complementary
#1D1966 #664419 #3B6619
monochromatic
#070619 #0F0D35 #1D1966 #2B2597 #3931C8

Accessibility & contrast

On white

15.18
#1D1966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#1D1966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1966
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1966#FFFFFF#000000##FFFFFF
##1D19661.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002265
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1d1966;
/* rgb */ color: rgb(29, 25, 102);
/* oklch */ color: oklch(28.0% 0.129 276.3);
Tailwind
colors: {
  custom: {
    50: '#655693',
    500: '#1d1966',
    950: '#000000',
  },
}
SCSS
$custom: #1d1966;
$custom-light: #655693;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1966",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 243.117,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.27971,
    "c": 0.12898,
    "h": 276.3
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#1D1966
secondary
#979C3F
accent
#E444DB
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #1D1966

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

Preview Lab → · Contrast checker → · Palette generator →

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