#1D1474#1D1474

#1D1474 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.153 H 275.2°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#1D1474
RGBrgb(29, 20, 116)
HSLhsl(246, 71%, 27%)
HSVhsv(246, 83%, 45%)
CMYKcmyk(75%, 82.8%, 0%, 54.5%)
CIE-LABlab(15.60, 36.36, -52.58)
CIE-LCHlch(15.60, 63.92, 304.66°)
OKLaboklab(28.85% 0.0138 -0.152)
OKLCHoklch(28.85% 0.153 275.2)
XYZxyz(3.9082, 2.0221, 16.7039)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1474 #6B7414
analogous
#143B74 #1D1474 #4D1474
triadic
#1D1474 #741D14 #14741D
tetradic
#1D1474 #74143B #6B7414 #14744D
square
#1D1474 #74143B #6B7414 #14744D
split-complementary
#1D1474 #744D14 #3B7414
monochromatic
#07051A #100B40 #1D1474 #2A1DA8 #3928DA

Accessibility & contrast

On white

14.95
#1D1474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1D1474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1474
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1474#FFFFFF#000000##FFFFFF
##1D14741.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002372
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1d1474;
/* rgb */ color: rgb(29, 20, 116);
/* oklch */ color: oklch(28.8% 0.153 275.2);
Tailwind
colors: {
  custom: {
    50: '#69549d',
    500: '#1d1474',
    950: '#000000',
  },
}
SCSS
$custom: #1d1474;
$custom-light: #69549d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1474",
  "rgb": {
    "r": 29,
    "g": 20,
    "b": 116
  },
  "hsl": {
    "h": 245.625,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.28846,
    "c": 0.15265,
    "h": 275.2
  },
  "luminance": 0.02022
}

Semantic roles & 50–950 ramp

primary
#1D1474
secondary
#A0AA3A
accent
#ED3ADD
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #1D1474

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

Preview Lab → · Contrast checker → · Palette generator →

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