#1D3185#1D3185

#1D3185 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.6% C 0.143 H 267.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1D3185
RGBrgb(29, 49, 133)
HSLhsl(228, 64%, 32%)
HSVhsv(228, 78%, 52%)
CMYKcmyk(78.2%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.16, 24.15, -49.31)
CIE-LCHlch(24.16, 54.91, 296.10°)
OKLaboklab(35.55% -0.0052 -0.1425)
OKLCHoklch(35.55% 0.143 267.9)
XYZxyz(5.8372, 4.1506, 22.6793)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3185 #85711D
analogous
#1D6585 #1D3185 #3D1D85
triadic
#1D3185 #851D31 #31851D
tetradic
#1D3185 #851D65 #85711D #1D853D
square
#1D3185 #851D65 #85711D #1D853D
split-complementary
#1D3185 #853D1D #65851D
monochromatic
#070C21 #121E53 #1D3185 #2844B7 #4662D7

Accessibility & contrast

On white

11.47
#1D3185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D3185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3185
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3185#FFFFFF#000000##FFFFFF
##1D31851.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3185;
/* rgb */ color: rgb(29, 49, 133);
/* oklch */ color: oklch(35.6% 0.143 267.9);
Tailwind
colors: {
  custom: {
    50: '#6a68a9',
    500: '#1d3185',
    950: '#000000',
  },
}
SCSS
$custom: #1d3185;
$custom-light: #6a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3185",
  "rgb": {
    "r": 29,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 228.462,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35553,
    "c": 0.1426,
    "h": 267.9
  },
  "luminance": 0.04151
}

Semantic roles & 50–950 ramp

primary
#1D3185
secondary
#B8A246
accent
#C741E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3185

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

Preview Lab → · Contrast checker → · Palette generator →

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