#1D1776#1D1776

#1D1776 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.152 H 274.5°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#1D1776
RGBrgb(29, 23, 118)
HSLhsl(244, 67%, 28%)
HSVhsv(244, 81%, 46%)
CMYKcmyk(75.4%, 80.5%, 0%, 53.7%)
CIE-LABlab(16.41, 35.39, -52.53)
CIE-LCHlch(16.41, 63.34, 303.97°)
OKLaboklab(29.48% 0.0119 -0.1519)
OKLCHoklch(29.48% 0.152 274.5)
XYZxyz(4.0820, 2.1816, 17.3420)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1776 #707617
analogous
#174176 #1D1776 #4C1776
triadic
#1D1776 #761D17 #17761D
tetradic
#1D1776 #761741 #707617 #17764C
square
#1D1776 #761741 #707617 #17764C
split-complementary
#1D1776 #764C17 #417617
monochromatic
#06051A #100D43 #1D1776 #2A21A9 #3B31D7

Accessibility & contrast

On white

14.62
#1D1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#1D1776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1776
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1776#FFFFFF#000000##FFFFFF
##1D17761.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1d1776;
/* rgb */ color: rgb(29, 23, 118);
/* oklch */ color: oklch(29.5% 0.152 274.5);
Tailwind
colors: {
  custom: {
    50: '#69569f',
    500: '#1d1776',
    950: '#000000',
  },
}
SCSS
$custom: #1d1776;
$custom-light: #69569f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1776",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 243.789,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29482,
    "c": 0.15239,
    "h": 274.5
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#1D1776
secondary
#A4AB3E
accent
#EA3EDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1776

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

Preview Lab → · Contrast checker → · Palette generator →

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