#1D1A76#1D1A76

#1D1A76 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.149 H 274.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#1D1A76
RGBrgb(29, 26, 118)
HSLhsl(242, 64%, 28%)
HSVhsv(242, 78%, 46%)
CMYKcmyk(75.4%, 78%, 0%, 53.7%)
CIE-LABlab(17.03, 33.64, -51.52)
CIE-LCHlch(17.03, 61.53, 303.15°)
OKLaboklab(29.91% 0.0104 -0.149)
OKLCHoklch(29.91% 0.149 274)
XYZxyz(4.1450, 2.3076, 17.3630)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1A76 #73761A
analogous
#1A4576 #1D1A76 #4B1A76
triadic
#1D1A76 #761D1A #1A761D
tetradic
#1D1A76 #761A45 #73761A #1A764B
square
#1D1A76 #761A45 #73761A #1A764B
split-complementary
#1D1A76 #764B1A #45761A
monochromatic
#060619 #110F44 #1D1A76 #2925A8 #3C37D3

Accessibility & contrast

On white

14.37
#1D1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1A76
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1A76#FFFFFF#000000##FFFFFF
##1D1A761.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1a76;
/* rgb */ color: rgb(29, 26, 118);
/* oklch */ color: oklch(29.9% 0.149 274.0);
Tailwind
colors: {
  custom: {
    50: '#69589f',
    500: '#1d1a76',
    950: '#000000',
  },
}
SCSS
$custom: #1d1a76;
$custom-light: #69589f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1a76",
  "rgb": {
    "r": 29,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 241.957,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29914,
    "c": 0.14938,
    "h": 274
  },
  "luminance": 0.02308
}

Semantic roles & 50–950 ramp

primary
#1D1A76
secondary
#A7AB41
accent
#E741E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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