#1D43A7#1D43A7

#1D43A7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.3% C 0.167 H 264.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#1D43A7
RGBrgb(29, 67, 167)
HSLhsl(223, 70%, 38%)
HSVhsv(223, 83%, 65%)
CMYKcmyk(82.6%, 59.9%, 0%, 34.5%)
CIE-LABlab(31.95, 25.24, -57.41)
CIE-LCHlch(31.95, 62.71, 293.73°)
OKLaboklab(42.27% -0.0163 -0.166)
OKLCHoklch(42.27% 0.167 264.4)
XYZxyz(9.4864, 7.0644, 37.4153)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D43A7 #A7811D
analogous
#1D88A7 #1D43A7 #3C1DA7
triadic
#1D43A7 #A71D43 #43A71D
tetradic
#1D43A7 #A71D88 #A7811D #1DA73C
square
#1D43A7 #A71D88 #A7811D #1DA73C
split-complementary
#1D43A7 #A73C1D #88A71D
monochromatic
#0B193F #142E73 #1D43A7 #2859DA #5C81E3

Accessibility & contrast

On white

8.70
#1D43A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#1D43A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D43A7
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D43A7#FFFFFF#000000##FFFFFF
##1D43A71.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0045A5
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d43a7;
/* rgb */ color: rgb(29, 67, 167);
/* oklch */ color: oklch(42.3% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#7276c2',
    500: '#1d43a7',
    950: '#000000',
  },
}
SCSS
$custom: #1d43a7;
$custom-light: #7276c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1d43a7",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 167
  },
  "hsl": {
    "h": 223.478,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.42268,
    "c": 0.1668,
    "h": 264.4
  },
  "luminance": 0.07066
}

Semantic roles & 50–950 ramp

primary
#1D43A7
secondary
#C7A859
accent
#BC3BED
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D43A7

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

Preview Lab → · Contrast checker → · Palette generator →

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