#1D3E95#1D3E95

#1D3E95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.148 H 264.7°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1D3E95
RGBrgb(29, 62, 149)
HSLhsl(224, 67%, 35%)
HSVhsv(224, 81%, 58%)
CMYKcmyk(80.5%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.10, 21.52, -51.16)
CIE-LCHlch(29.10, 55.50, 292.81°)
OKLaboklab(39.66% -0.0138 -0.1477)
OKLCHoklch(39.66% 0.148 264.7)
XYZxyz(7.6522, 5.8755, 29.1587)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3E95 #95741D
analogous
#1D7A95 #1D3E95 #381D95
triadic
#1D3E95 #951D3E #3E951D
tetradic
#1D3E95 #951D7A #95741D #1D9538
square
#1D3E95 #951D7A #95741D #1D9538
split-complementary
#1D3E95 #95381D #7A951D
monochromatic
#09132F #132962 #1D3E95 #2753C8 #5076DD

Accessibility & contrast

On white

9.65
#1D3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3E95
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3E95#FFFFFF#000000##FFFFFF
##1D3E951.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d3e95;
/* rgb */ color: rgb(29, 62, 149);
/* oklch */ color: oklch(39.7% 0.148 264.7);
Tailwind
colors: {
  custom: {
    50: '#6e72b5',
    500: '#1d3e95',
    950: '#000000',
  },
}
SCSS
$custom: #1d3e95;
$custom-light: #6e72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3e95",
  "rgb": {
    "r": 29,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 223.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.1484,
    "h": 264.7
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#1D3E95
secondary
#C0A04E
accent
#BB3DEA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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