#1D3785#1D3785

#1D3785 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.135 H 265.9°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#1D3785
RGBrgb(29, 55, 133)
HSLhsl(225, 64%, 32%)
HSVhsv(225, 78%, 52%)
CMYKcmyk(78.2%, 58.6%, 0%, 47.8%)
CIE-LABlab(25.82, 19.97, -46.60)
CIE-LCHlch(25.82, 50.70, 293.20°)
OKLaboklab(36.79% -0.0096 -0.1345)
OKLCHoklch(36.79% 0.135 265.9)
XYZxyz(6.1050, 4.6864, 22.7686)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3785 #856B1D
analogous
#1D6B85 #1D3785 #371D85
triadic
#1D3785 #851D37 #37851D
tetradic
#1D3785 #851D6B #856B1D #1D8537
square
#1D3785 #851D6B #856B1D #1D8537
split-complementary
#1D3785 #85371D #6B851D
monochromatic
#070D21 #122253 #1D3785 #284CB7 #466AD7

Accessibility & contrast

On white

10.84
#1D3785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1D3785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3785
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3785#FFFFFF#000000##FFFFFF
##1D37851.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003983
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d3785;
/* rgb */ color: rgb(29, 55, 133);
/* oklch */ color: oklch(36.8% 0.135 265.9);
Tailwind
colors: {
  custom: {
    50: '#6a6da9',
    500: '#1d3785',
    950: '#000000',
  },
}
SCSS
$custom: #1d3785;
$custom-light: #6a6da9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3785",
  "rgb": {
    "r": 29,
    "g": 55,
    "b": 133
  },
  "hsl": {
    "h": 225,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36791,
    "c": 0.13482,
    "h": 265.9
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#1D3785
secondary
#B89B46
accent
#BE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1D3785

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

Preview Lab → · Contrast checker → · Palette generator →

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