#1D1774#1D1774

#1D1774 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.150 H 274.7°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#1D1774
RGBrgb(29, 23, 116)
HSLhsl(244, 67%, 27%)
HSVhsv(244, 80%, 45%)
CMYKcmyk(75%, 80.2%, 0%, 54.5%)
CIE-LABlab(16.18, 34.70, -51.63)
CIE-LCHlch(16.18, 62.20, 303.91°)
OKLaboklab(29.25% 0.0124 -0.1493)
OKLCHoklch(29.25% 0.15 274.7)
XYZxyz(3.9644, 2.1346, 16.7227)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1774 #6E7417
analogous
#174074 #1D1774 #4C1774
triadic
#1D1774 #741D17 #17741D
tetradic
#1D1774 #741740 #6E7417 #17744C
square
#1D1774 #741740 #6E7417 #17744C
split-complementary
#1D1774 #744C17 #407417
monochromatic
#06051A #100D41 #1D1774 #2A21A7 #3A30D6

Accessibility & contrast

On white

14.72
#1D1774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1D1774 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1774
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1774#FFFFFF#000000##FFFFFF
##1D17741.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002472
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1d1774;
/* rgb */ color: rgb(29, 23, 116);
/* oklch */ color: oklch(29.2% 0.150 274.7);
Tailwind
colors: {
  custom: {
    50: '#69569d',
    500: '#1d1774',
    950: '#000000',
  },
}
SCSS
$custom: #1d1774;
$custom-light: #69569d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1774",
  "rgb": {
    "r": 29,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 243.871,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29248,
    "c": 0.14982,
    "h": 274.7
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#1D1774
secondary
#A2A93D
accent
#EA3EDF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1774

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

Preview Lab → · Contrast checker → · Palette generator →

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