#1D3F85#1D3F85

#1D3F85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.124 H 262.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#1D3F85
RGBrgb(29, 63, 133)
HSLhsl(220, 64%, 32%)
HSVhsv(220, 78%, 52%)
CMYKcmyk(78.2%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.14, 14.39, -42.85)
CIE-LCHlch(28.14, 45.20, 288.56°)
OKLaboklab(38.54% -0.016 -0.1233)
OKLCHoklch(38.54% 0.124 262.6)
XYZxyz(6.5163, 5.5089, 22.9057)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F85 #85631D
analogous
#1D7385 #1D3F85 #2F1D85
triadic
#1D3F85 #851D3F #3F851D
tetradic
#1D3F85 #851D73 #85631D #1D852F
square
#1D3F85 #851D73 #85631D #1D852F
split-complementary
#1D3F85 #852F1D #73851D
monochromatic
#070F21 #122753 #1D3F85 #2857B7 #4675D7

Accessibility & contrast

On white

9.99
#1D3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1D3F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F85
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F85#FFFFFF#000000##FFFFFF
##1D3F851.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3f85;
/* rgb */ color: rgb(29, 63, 133);
/* oklch */ color: oklch(38.5% 0.124 262.6);
Tailwind
colors: {
  custom: {
    50: '#6973a9',
    500: '#1d3f85',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f85;
$custom-light: #6973a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f85",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 220.385,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38543,
    "c": 0.12432,
    "h": 262.6
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#1D3F85
secondary
#B89346
accent
#B141E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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