#1D3EA0#1D3EA0

#1D3EA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.164 H 265.3°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#1D3EA0
RGBrgb(29, 62, 160)
HSLhsl(225, 69%, 37%)
HSVhsv(225, 82%, 63%)
CMYKcmyk(81.9%, 61.2%, 0%, 37.3%)
CIE-LABlab(30.02, 25.87, -56.35)
CIE-LCHlch(30.02, 62.00, 294.66°)
OKLaboklab(40.64% -0.0134 -0.163)
OKLCHoklch(40.64% 0.164 265.3)
XYZxyz(8.5722, 6.2435, 34.0042)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3EA0 #A07F1D
analogous
#1D80A0 #1D3EA0 #3D1DA0
triadic
#1D3EA0 #A01D3E #3EA01D
tetradic
#1D3EA0 #A01D80 #A07F1D #1DA03D
square
#1D3EA0 #A01D80 #A07F1D #1DA03D
split-complementary
#1D3EA0 #A03D1D #80A01D
monochromatic
#0A1638 #142A6C #1D3EA0 #2652D4 #577AE1

Accessibility & contrast

On white

9.34
#1D3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D3EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3EA0
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3EA0#FFFFFF#000000##FFFFFF
##1D3EA01.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d3ea0;
/* rgb */ color: rgb(29, 62, 160);
/* oklch */ color: oklch(40.6% 0.164 265.3);
Tailwind
colors: {
  custom: {
    50: '#7172bd',
    500: '#1d3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ea0;
$custom-light: #7172bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ea0",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 224.885,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40639,
    "c": 0.16353,
    "h": 265.3
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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