#1D3E88#1D3E88

#1D3E88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.130 H 263.4°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1D3E88
RGBrgb(29, 62, 136)
HSLhsl(221, 65%, 32%)
HSVhsv(221, 79%, 53%)
CMYKcmyk(78.7%, 54.4%, 0%, 46.7%)
CIE-LABlab(28.07, 16.30, -44.82)
CIE-LCHlch(28.07, 47.69, 289.98°)
OKLaboklab(38.56% -0.0149 -0.1291)
OKLCHoklch(38.56% 0.13 263.4)
XYZxyz(6.6717, 5.4833, 23.9945)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E88 #88671D
analogous
#1D7488 #1D3E88 #311D88
triadic
#1D3E88 #881D3E #3E881D
tetradic
#1D3E88 #881D74 #88671D #1D8831
square
#1D3E88 #881D74 #88671D #1D8831
split-complementary
#1D3E88 #88311D #74881D
monochromatic
#071023 #122756 #1D3E88 #2855BA #4874D8

Accessibility & contrast

On white

10.02
#1D3E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D3E88
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E88#FFFFFF#000000##FFFFFF
##1D3E881.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1d3e88;
/* rgb */ color: rgb(29, 62, 136);
/* oklch */ color: oklch(38.6% 0.130 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a72ab',
    500: '#1d3e88',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e88;
$custom-light: #6a72ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e88",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 136
  },
  "hsl": {
    "h": 221.495,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.38563,
    "c": 0.12996,
    "h": 263.4
  },
  "luminance": 0.05484
}

Semantic roles & 50–950 ramp

primary
#1D3E88
secondary
#BA9647
accent
#B440E8
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D3E88

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

Preview Lab → · Contrast checker → · Palette generator →

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