#1D43A6#1D43A6

#1D43A6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.165 H 264.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#1D43A6
RGBrgb(29, 67, 166)
HSLhsl(223, 70%, 38%)
HSVhsv(223, 83%, 65%)
CMYKcmyk(82.5%, 59.6%, 0%, 34.9%)
CIE-LABlab(31.87, 24.84, -56.94)
CIE-LCHlch(31.87, 62.13, 293.57°)
OKLaboklab(42.18% -0.0163 -0.1646)
OKLCHoklch(42.18% 0.165 264.3)
XYZxyz(9.3943, 7.0276, 36.9303)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D43A6 #A6801D
analogous
#1D87A6 #1D43A6 #3C1DA6
triadic
#1D43A6 #A61D43 #43A61D
tetradic
#1D43A6 #A61D87 #A6801D #1DA63C
square
#1D43A6 #A61D87 #A6801D #1DA63C
split-complementary
#1D43A6 #A63C1D #87A61D
monochromatic
#0B193E #142E72 #1D43A6 #2758D9 #5B81E2

Accessibility & contrast

On white

8.73
#1D43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D43A6
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D43A6#FFFFFF#000000##FFFFFF
##1D43A61.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0045A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1d43a6;
/* rgb */ color: rgb(29, 67, 166);
/* oklch */ color: oklch(42.2% 0.165 264.3);
Tailwind
colors: {
  custom: {
    50: '#7276c1',
    500: '#1d43a6',
    950: '#000000',
  },
}
SCSS
$custom: #1d43a6;
$custom-light: #7276c1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d43a6",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 223.358,
    "s": 70.256,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4218,
    "c": 0.16545,
    "h": 264.3
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D43A6

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

Preview Lab → · Contrast checker → · Palette generator →

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