#1D3589#1D3589

#1D3589 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.143 H 266.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#1D3589
RGBrgb(29, 53, 137)
HSLhsl(227, 65%, 33%)
HSVhsv(227, 79%, 54%)
CMYKcmyk(78.8%, 61.3%, 0%, 46.3%)
CIE-LABlab(25.60, 22.96, -49.45)
CIE-LCHlch(25.60, 54.53, 294.91°)
OKLaboklab(36.73% -0.008 -0.1429)
OKLCHoklch(36.73% 0.143 266.8)
XYZxyz(6.2936, 4.6129, 24.2207)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3589 #89711D
analogous
#1D6B89 #1D3589 #3B1D89
triadic
#1D3589 #891D35 #35891D
tetradic
#1D3589 #891D6B #89711D #1D893B
square
#1D3589 #891D6B #89711D #1D893B
split-complementary
#1D3589 #893B1D #6B891D
monochromatic
#080E24 #122156 #1D3589 #2849BC #4868D8

Accessibility & contrast

On white

10.92
#1D3589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#1D3589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3589
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3589#FFFFFF#000000##FFFFFF
##1D35891.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004A59
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3589;
/* rgb */ color: rgb(29, 53, 137);
/* oklch */ color: oklch(36.7% 0.143 266.8);
Tailwind
colors: {
  custom: {
    50: '#6b6bac',
    500: '#1d3589',
    950: '#000000',
  },
}
SCSS
$custom: #1d3589;
$custom-light: #6b6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3589",
  "rgb": {
    "r": 29,
    "g": 53,
    "b": 137
  },
  "hsl": {
    "h": 226.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36731,
    "c": 0.1431,
    "h": 266.8
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#1D3589
secondary
#BAA147
accent
#C340E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3589

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

Preview Lab → · Contrast checker → · Palette generator →

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