#1D43A4#1D43A4

#1D43A4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.163 H 264.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#1D43A4
RGBrgb(29, 67, 164)
HSLhsl(223, 70%, 38%)
HSVhsv(223, 82%, 64%)
CMYKcmyk(82.3%, 59.1%, 0%, 35.7%)
CIE-LABlab(31.70, 24.06, -56.01)
CIE-LCHlch(31.70, 60.96, 293.24°)
OKLaboklab(42% -0.0164 -0.1619)
OKLCHoklch(42% 0.163 264.2)
XYZxyz(9.2123, 6.9547, 35.9716)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D43A4 #A47E1D
analogous
#1D86A4 #1D43A4 #3A1DA4
triadic
#1D43A4 #A41D43 #43A41D
tetradic
#1D43A4 #A41D86 #A47E1D #1DA43A
square
#1D43A4 #A41D86 #A47E1D #1DA43A
split-complementary
#1D43A4 #A43A1D #86A41D
monochromatic
#0B193C #142E70 #1D43A4 #2658D8 #5A80E2

Accessibility & contrast

On white

8.78
#1D43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#1D43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D43A4
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D43A4#FFFFFF#000000##FFFFFF
##1D43A41.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d43a4;
/* rgb */ color: rgb(29, 67, 164);
/* oklch */ color: oklch(42.0% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#7176c0',
    500: '#1d43a4',
    950: '#000000',
  },
}
SCSS
$custom: #1d43a4;
$custom-light: #7176c0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d43a4",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 223.111,
    "s": 69.948,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.16274,
    "h": 264.2
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#1D43A4
secondary
#C6A657
accent
#BB3BED
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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