#1D2688#1D2688

#1D2688 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.160 H 270.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1D2688
RGBrgb(29, 38, 136)
HSLhsl(235, 65%, 32%)
HSVhsv(235, 79%, 53%)
CMYKcmyk(78.7%, 72.1%, 0%, 46.7%)
CIE-LABlab(21.67, 32.68, -55.28)
CIE-LCHlch(21.67, 64.22, 300.59°)
OKLaboklab(33.82% 0.0012 -0.16)
OKLCHoklch(33.82% 0.16 270.4)
XYZxyz(5.6422, 3.4244, 23.6514)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2688 #887F1D
analogous
#1D5C88 #1D2688 #491D88
triadic
#1D2688 #881D26 #26881D
tetradic
#1D2688 #881D5C #887F1D #1D8849
square
#1D2688 #881D5C #887F1D #1D8849
split-complementary
#1D2688 #88491D #5C881D
monochromatic
#070A23 #121856 #1D2688 #2834BA #4854D8

Accessibility & contrast

On white

12.46
#1D2688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2688
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2688#FFFFFF#000000##FFFFFF
##1D26881.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#004154
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2688;
/* rgb */ color: rgb(29, 38, 136);
/* oklch */ color: oklch(33.8% 0.160 270.4);
Tailwind
colors: {
  custom: {
    50: '#6c61ac',
    500: '#1d2688',
    950: '#000000',
  },
}
SCSS
$custom: #1d2688;
$custom-light: #6c61ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2688",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 234.953,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.33817,
    "c": 0.16003,
    "h": 270.4
  },
  "luminance": 0.03425
}

Semantic roles & 50–950 ramp

primary
#1D2688
secondary
#BAB047
accent
#DA40E8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1D2688

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

Preview Lab → · Contrast checker → · Palette generator →

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