#1D3F88#1D3F88

#1D3F88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.129 H 263.0°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#1D3F88
RGBrgb(29, 63, 136)
HSLhsl(221, 65%, 32%)
HSVhsv(221, 79%, 53%)
CMYKcmyk(78.7%, 53.7%, 0%, 46.7%)
CIE-LABlab(28.36, 15.60, -44.35)
CIE-LCHlch(28.36, 47.01, 289.38°)
OKLaboklab(38.78% -0.0157 -0.1277)
OKLCHoklch(38.78% 0.129 263)
XYZxyz(6.7265, 5.5930, 24.0128)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3F88 #88661D
analogous
#1D7488 #1D3F88 #311D88
triadic
#1D3F88 #881D3F #3F881D
tetradic
#1D3F88 #881D74 #88661D #1D8831
square
#1D3F88 #881D74 #88661D #1D8831
split-complementary
#1D3F88 #88311D #74881D
monochromatic
#071023 #122856 #1D3F88 #2856BA #4875D8

Accessibility & contrast

On white

9.91
#1D3F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1D3F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3F88
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3F88#FFFFFF#000000##FFFFFF
##1D3F881.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1d3f88;
/* rgb */ color: rgb(29, 63, 136);
/* oklch */ color: oklch(38.8% 0.129 263.0);
Tailwind
colors: {
  custom: {
    50: '#6a73ab',
    500: '#1d3f88',
    950: '#000000',
  },
}
SCSS
$custom: #1d3f88;
$custom-light: #6a73ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3f88",
  "rgb": {
    "r": 29,
    "g": 63,
    "b": 136
  },
  "hsl": {
    "h": 220.935,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38784,
    "c": 0.12866,
    "h": 263
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#1D3F88
secondary
#BA9547
accent
#B240E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3F88

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

Preview Lab → · Contrast checker → · Palette generator →

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