#1D4B8E#1D4B8E

#1D4B8E is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.0% C 0.122 H 258.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#1D4B8E
RGBrgb(29, 75, 142)
HSLhsl(216, 66%, 34%)
HSVhsv(216, 80%, 56%)
CMYKcmyk(79.6%, 47.2%, 0%, 44.3%)
CIE-LABlab(32.36, 9.79, -41.60)
CIE-LCHlch(32.36, 42.74, 283.25°)
OKLaboklab(41.98% -0.0249 -0.1194)
OKLCHoklch(41.98% 0.122 258.2)
XYZxyz(7.9035, 7.2454, 26.5679)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4B8E #8E601D
analogous
#1D838E #1D4B8E #271D8E
triadic
#1D4B8E #8E1D4B #4B8E1D
tetradic
#1D4B8E #8E1D83 #8E601D #1D8E27
square
#1D4B8E #8E1D83 #8E601D #1D8E27
split-complementary
#1D4B8E #8E271D #838E1D
monochromatic
#081528 #13305B #1D4B8E #2766C1 #4B85DA

Accessibility & contrast

On white

8.57
#1D4B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#1D4B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4B8E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4B8E#FFFFFF#000000##FFFFFF
##1D4B8E1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275291
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1d4b8e;
/* rgb */ color: rgb(29, 75, 142);
/* oklch */ color: oklch(42.0% 0.122 258.2);
Tailwind
colors: {
  custom: {
    50: '#6b7caf',
    500: '#1d4b8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d4b8e;
$custom-light: #6b7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4b8e",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 142
  },
  "hsl": {
    "h": 215.575,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.12193,
    "h": 258.2
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#1D4B8E
secondary
#BD8E4A
accent
#A43FE9
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #1D4B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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