#1D4088#1D4088

#1D4088 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.127 H 262.6°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#1D4088
RGBrgb(29, 64, 136)
HSLhsl(220, 65%, 32%)
HSVhsv(220, 79%, 53%)
CMYKcmyk(78.7%, 52.9%, 0%, 46.7%)
CIE-LABlab(28.66, 14.91, -43.87)
CIE-LCHlch(28.66, 46.34, 288.77°)
OKLaboklab(39.01% -0.0165 -0.1263)
OKLCHoklch(39.01% 0.127 262.6)
XYZxyz(6.7824, 5.7048, 24.0315)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4088 #88651D
analogous
#1D7588 #1D4088 #301D88
triadic
#1D4088 #881D40 #40881D
tetradic
#1D4088 #881D75 #88651D #1D8830
square
#1D4088 #881D75 #88651D #1D8830
split-complementary
#1D4088 #88301D #75881D
monochromatic
#071123 #122856 #1D4088 #2858BA #4877D8

Accessibility & contrast

On white

9.81
#1D4088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1D4088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4088
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4088#FFFFFF#000000##FFFFFF
##1D40881.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1d4088;
/* rgb */ color: rgb(29, 64, 136);
/* oklch */ color: oklch(39.0% 0.127 262.6);
Tailwind
colors: {
  custom: {
    50: '#6a74ab',
    500: '#1d4088',
    950: '#000000',
  },
}
SCSS
$custom: #1d4088;
$custom-light: #6a74ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4088",
  "rgb": {
    "r": 29,
    "g": 64,
    "b": 136
  },
  "hsl": {
    "h": 220.374,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39008,
    "c": 0.12735,
    "h": 262.6
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#1D4088
secondary
#BA9447
accent
#B140E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1D4088

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

Preview Lab → · Contrast checker → · Palette generator →

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