#1D3A9C#1D3A9C

#1D3A9C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.163 H 266.1°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#1D3A9C
RGBrgb(29, 58, 156)
HSLhsl(226, 69%, 36%)
HSVhsv(226, 81%, 61%)
CMYKcmyk(81.4%, 62.8%, 0%, 38.8%)
CIE-LABlab(28.61, 27.02, -56.23)
CIE-LCHlch(28.61, 62.38, 295.66°)
OKLaboklab(39.48% -0.0111 -0.1627)
OKLCHoklch(39.48% 0.163 266.1)
XYZxyz(8.0184, 5.6867, 32.1211)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A9C #9C7F1D
analogous
#1D7A9C #1D3A9C #401D9C
triadic
#1D3A9C #9C1D3A #3A9C1D
tetradic
#1D3A9C #9C1D7A #9C7F1D #1D9C40
square
#1D3A9C #9C1D7A #9C7F1D #1D9C40
split-complementary
#1D3A9C #9C401D #7A9C1D
monochromatic
#0A1435 #132768 #1D3A9C #274DD0 #5474DF

Accessibility & contrast

On white

9.82
#1D3A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D3A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A9C
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A9C#FFFFFF#000000##FFFFFF
##1D3A9C1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3a9c;
/* rgb */ color: rgb(29, 58, 156);
/* oklch */ color: oklch(39.5% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#706fba',
    500: '#1d3a9c',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a9c;
$custom-light: #706fba;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a9c",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 226.299,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39482,
    "c": 0.16306,
    "h": 266.1
  },
  "luminance": 0.05688
}

Semantic roles & 50–950 ramp

primary
#1D3A9C
secondary
#C2A952
accent
#C33CEB
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1D3A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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