#1D3EA1#1D3EA1

#1D3EA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.165 H 265.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#1D3EA1
RGBrgb(29, 62, 161)
HSLhsl(225, 69%, 37%)
HSVhsv(225, 82%, 63%)
CMYKcmyk(82%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.10, 26.26, -56.81)
CIE-LCHlch(30.10, 62.59, 294.81°)
OKLaboklab(40.73% -0.0134 -0.1643)
OKLCHoklch(40.73% 0.165 265.3)
XYZxyz(8.6601, 6.2786, 34.4668)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3EA1 #A1801D
analogous
#1D80A1 #1D3EA1 #3E1DA1
triadic
#1D3EA1 #A11D3E #3EA11D
tetradic
#1D3EA1 #A11D80 #A1801D #1DA13E
square
#1D3EA1 #A11D80 #A1801D #1DA13E
split-complementary
#1D3EA1 #A13E1D #80A11D
monochromatic
#0A1639 #142A6D #1D3EA1 #2652D5 #587AE1

Accessibility & contrast

On white

9.31
#1D3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1D3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3EA1
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3EA1#FFFFFF#000000##FFFFFF
##1D3EA11.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d3ea1;
/* rgb */ color: rgb(29, 62, 161);
/* oklch */ color: oklch(40.7% 0.165 265.3);
Tailwind
colors: {
  custom: {
    50: '#7172be',
    500: '#1d3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ea1;
$custom-light: #7172be;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ea1",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 225,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4073,
    "c": 0.16489,
    "h": 265.3
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#1D3EA1
secondary
#C4A955
accent
#C03CEC
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1D3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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