#1D3A89#1D3A89

#1D3A89 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.137 H 265.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1D3A89
RGBrgb(29, 58, 137)
HSLhsl(224, 65%, 33%)
HSVhsv(224, 79%, 54%)
CMYKcmyk(78.8%, 57.7%, 0%, 46.3%)
CIE-LABlab(27.00, 19.49, -47.18)
CIE-LCHlch(27.00, 51.05, 292.44°)
OKLaboklab(37.78% -0.0116 -0.1361)
OKLCHoklch(37.78% 0.137 265.1)
XYZxyz(6.5335, 5.0927, 24.3007)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3A89 #896C1D
analogous
#1D7089 #1D3A89 #361D89
triadic
#1D3A89 #891D3A #3A891D
tetradic
#1D3A89 #891D70 #896C1D #1D8936
square
#1D3A89 #891D70 #896C1D #1D8936
split-complementary
#1D3A89 #89361D #70891D
monochromatic
#080F24 #122556 #1D3A89 #284FBC #486FD8

Accessibility & contrast

On white

10.40
#1D3A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1D3A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3A89
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3A89#FFFFFF#000000##FFFFFF
##1D3A891.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1d3a89;
/* rgb */ color: rgb(29, 58, 137);
/* oklch */ color: oklch(37.8% 0.137 265.1);
Tailwind
colors: {
  custom: {
    50: '#6b6fac',
    500: '#1d3a89',
    950: '#000000',
  },
}
SCSS
$custom: #1d3a89;
$custom-light: #6b6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3a89",
  "rgb": {
    "r": 29,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 223.889,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37777,
    "c": 0.13663,
    "h": 265.1
  },
  "luminance": 0.05093
}

Semantic roles & 50–950 ramp

primary
#1D3A89
secondary
#BA9B47
accent
#BB40E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1D3A89

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

Preview Lab → · Contrast checker → · Palette generator →

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