#1D43A8#1D43A8

#1D43A8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.168 H 264.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#1D43A8
RGBrgb(29, 67, 168)
HSLhsl(224, 71%, 39%)
HSVhsv(224, 83%, 66%)
CMYKcmyk(82.7%, 60.1%, 0%, 34.1%)
CIE-LABlab(32.04, 25.63, -57.87)
CIE-LCHlch(32.04, 63.29, 293.89°)
OKLaboklab(42.36% -0.0162 -0.1674)
OKLCHoklch(42.36% 0.168 264.5)
XYZxyz(9.5792, 7.1015, 37.9041)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D43A8 #A8821D
analogous
#1D88A8 #1D43A8 #3C1DA8
triadic
#1D43A8 #A81D43 #43A81D
tetradic
#1D43A8 #A81D88 #A8821D #1DA83C
square
#1D43A8 #A81D88 #A8821D #1DA83C
split-complementary
#1D43A8 #A83C1D #88A81D
monochromatic
#0B1940 #142E74 #1D43A8 #2859DA #5C81E3

Accessibility & contrast

On white

8.68
#1D43A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#1D43A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D43A8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D43A8#FFFFFF#000000##FFFFFF
##1D43A81.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#0045A6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d43a8;
/* rgb */ color: rgb(29, 67, 168);
/* oklch */ color: oklch(42.4% 0.168 264.5);
Tailwind
colors: {
  custom: {
    50: '#7276c3',
    500: '#1d43a8',
    950: '#000000',
  },
}
SCSS
$custom: #1d43a8;
$custom-light: #7276c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d43a8",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 223.597,
    "s": 70.558,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42357,
    "c": 0.16815,
    "h": 264.5
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#1D43A8
secondary
#C7A95A
accent
#BC3AED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1D43A8

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

Preview Lab → · Contrast checker → · Palette generator →

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