#1D41A7#1D41A7

#1D41A7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.169 H 264.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#1D41A7
RGBrgb(29, 65, 167)
HSLhsl(224, 70%, 38%)
HSVhsv(224, 83%, 65%)
CMYKcmyk(82.6%, 61.1%, 0%, 34.5%)
CIE-LABlab(31.42, 26.59, -58.28)
CIE-LCHlch(31.42, 64.06, 294.52°)
OKLaboklab(41.87% -0.0151 -0.1686)
OKLCHoklch(41.87% 0.169 264.9)
XYZxyz(9.3696, 6.8307, 37.3764)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D41A7 #A7831D
analogous
#1D86A7 #1D41A7 #3E1DA7
triadic
#1D41A7 #A71D41 #41A71D
tetradic
#1D41A7 #A71D86 #A7831D #1DA73E
square
#1D41A7 #A71D86 #A7831D #1DA73E
split-complementary
#1D41A7 #A73E1D #86A71D
monochromatic
#0B183F #142D73 #1D41A7 #2856DA #5C7FE3

Accessibility & contrast

On white

8.87
#1D41A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1D41A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D41A7
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D41A7#FFFFFF#000000##FFFFFF
##1D41A71.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d41a7;
/* rgb */ color: rgb(29, 65, 167);
/* oklch */ color: oklch(41.9% 0.169 264.9);
Tailwind
colors: {
  custom: {
    50: '#7275c2',
    500: '#1d41a7',
    950: '#000000',
  },
}
SCSS
$custom: #1d41a7;
$custom-light: #7275c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d41a7",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 224.348,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41869,
    "c": 0.16927,
    "h": 264.9
  },
  "luminance": 0.06832
}

Semantic roles & 50–950 ramp

primary
#1D41A7
secondary
#C7AA59
accent
#BF3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D41A7

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

Preview Lab → · Contrast checker → · Palette generator →

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