#1D3A9B#1D3A9B

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

Color values

HEX#1D3A9B
RGBrgb(29, 58, 155)
HSLhsl(226, 68%, 36%)
HSVhsv(226, 81%, 61%)
CMYKcmyk(81.3%, 62.6%, 0%, 39.2%)
CIE-LABlab(28.52, 26.63, -55.77)
CIE-LCHlch(28.52, 61.80, 295.52°)
OKLaboklab(39.39% -0.0111 -0.1613)
OKLCHoklch(39.39% 0.162 266.1)
XYZxyz(7.9341, 5.6529, 31.6770)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A9B #9B7E1D
analogous
#1D799B #1D3A9B #3F1D9B
triadic
#1D3A9B #9B1D3A #3A9B1D
tetradic
#1D3A9B #9B1D79 #9B7E1D #1D9B3F
square
#1D3A9B #9B1D79 #9B7E1D #1D9B3F
split-complementary
#1D3A9B #9B3F1D #799B1D
monochromatic
#0A1334 #132767 #1D3A9B #274DCF #5374DF

Accessibility & contrast

On white

9.86
#1D3A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1D3A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A9B
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A9B#FFFFFF#000000##FFFFFF
##1D3A9B1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3a9b;
/* rgb */ color: rgb(29, 58, 155);
/* oklch */ color: oklch(39.4% 0.162 266.1);
Tailwind
colors: {
  custom: {
    50: '#706fb9',
    500: '#1d3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a9b;
$custom-light: #706fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a9b",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 226.19,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.1617,
    "h": 266.1
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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