#1D3CA0#1D3CA0

#1D3CA0 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.166 H 265.8°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1D3CA0
RGBrgb(29, 60, 160)
HSLhsl(226, 69%, 37%)
HSVhsv(226, 82%, 63%)
CMYKcmyk(81.9%, 62.5%, 0%, 37.3%)
CIE-LABlab(29.49, 27.22, -57.22)
CIE-LCHlch(29.49, 63.36, 295.44°)
OKLaboklab(40.24% -0.0122 -0.1655)
OKLCHoklch(40.24% 0.166 265.8)
XYZxyz(8.4655, 6.0300, 33.9686)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3CA0 #A0811D
analogous
#1D7DA0 #1D3CA0 #401DA0
triadic
#1D3CA0 #A01D3C #3CA01D
tetradic
#1D3CA0 #A01D7D #A0811D #1DA040
square
#1D3CA0 #A01D7D #A0811D #1DA040
split-complementary
#1D3CA0 #A0401D #7DA01D
monochromatic
#0A1538 #14296C #1D3CA0 #264FD4 #5777E1

Accessibility & contrast

On white

9.52
#1D3CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D3CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3CA0
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3CA0#FFFFFF#000000##FFFFFF
##1D3CA01.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#00409E
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3ca0;
/* rgb */ color: rgb(29, 60, 160);
/* oklch */ color: oklch(40.2% 0.166 265.8);
Tailwind
colors: {
  custom: {
    50: '#7171bd',
    500: '#1d3ca0',
    950: '#000000',
  },
}
SCSS
$custom: #1d3ca0;
$custom-light: #7171bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3ca0",
  "rgb": {
    "r": 29,
    "g": 60,
    "b": 160
  },
  "hsl": {
    "h": 225.802,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40244,
    "c": 0.166,
    "h": 265.8
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

primary
#1D3CA0
secondary
#C4AA55
accent
#C23CEC
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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