#1D1663#1D1663

#1D1663 is a dark, vivid blue. Relative luminance 0.017; OKLCH L 27.2% C 0.128 H 277.6°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#1D1663
RGBrgb(29, 22, 99)
HSLhsl(245, 64%, 24%)
HSVhsv(245, 78%, 39%)
CMYKcmyk(70.7%, 77.8%, 0%, 61.2%)
CIE-LABlab(14.03, 29.35, -44.04)
CIE-LCHlch(14.03, 52.93, 303.67°)
OKLaboklab(27.16% 0.017 -0.1272)
OKLCHoklch(27.16% 0.128 277.6)
XYZxyz(3.0450, 1.7356, 11.9765)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1663 #5C6316
analogous
#163563 #1D1663 #431663
triadic
#1D1663 #631D16 #16631D
tetradic
#1D1663 #631635 #5C6316 #166343
square
#1D1663 #631635 #5C6316 #166343
split-complementary
#1D1663 #634316 #356316
monochromatic
#070619 #0E0B31 #1D1663 #2C2195 #3A2CC7

Accessibility & contrast

On white

15.59
#1D1663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#1D1663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1663
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1663#FFFFFF#000000##FFFFFF
##1D16631.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002765
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002C3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #1d1663;
/* rgb */ color: rgb(29, 22, 99);
/* oklch */ color: oklch(27.2% 0.128 277.6);
Tailwind
colors: {
  custom: {
    50: '#645490',
    500: '#1d1663',
    950: '#000000',
  },
}
SCSS
$custom: #1d1663;
$custom-light: #645490;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1663",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 99
  },
  "hsl": {
    "h": 245.455,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27158,
    "c": 0.12834,
    "h": 277.6
  },
  "luminance": 0.01736
}

Semantic roles & 50–950 ramp

primary
#1D1663
secondary
#919A3B
accent
#E741D8
background
#F6F4F8
surface
#EBE8F0
border
#C6C4CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #1D1663

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

Preview Lab → · Contrast checker → · Palette generator →

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