#1D41A8#1D41A8

#1D41A8 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.171 H 264.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#1D41A8
RGBrgb(29, 65, 168)
HSLhsl(224, 71%, 39%)
HSVhsv(224, 83%, 66%)
CMYKcmyk(82.7%, 61.3%, 0%, 34.1%)
CIE-LABlab(31.50, 26.98, -58.74)
CIE-LCHlch(31.50, 64.64, 294.67°)
OKLaboklab(41.96% -0.0151 -0.1699)
OKLCHoklch(41.96% 0.171 264.9)
XYZxyz(9.4624, 6.8678, 37.8651)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D41A8 #A8841D
analogous
#1D86A8 #1D41A8 #3E1DA8
triadic
#1D41A8 #A81D41 #41A81D
tetradic
#1D41A8 #A81D86 #A8841D #1DA83E
square
#1D41A8 #A81D86 #A8841D #1DA83E
split-complementary
#1D41A8 #A83E1D #86A81D
monochromatic
#0B1940 #142D74 #1D41A8 #2856DA #5C7FE3

Accessibility & contrast

On white

8.85
#1D41A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D41A8
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D41A8#FFFFFF#000000##FFFFFF
##1D41A81.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AB
Deuteranopia (green-blind)
#0044A6
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1d41a8;
/* rgb */ color: rgb(29, 65, 168);
/* oklch */ color: oklch(42.0% 0.171 264.9);
Tailwind
colors: {
  custom: {
    50: '#7275c3',
    500: '#1d41a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d41a8;
$custom-light: #7275c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d41a8",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 224.46,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41959,
    "c": 0.17061,
    "h": 264.9
  },
  "luminance": 0.06869
}

Semantic roles & 50–950 ramp

primary
#1D41A8
secondary
#C7AB5A
accent
#BF3AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1D41A8

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

Preview Lab → · Contrast checker → · Palette generator →

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