#1D1689#1D1689

#1D1689 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.177 H 272.4°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#1D1689
RGBrgb(29, 22, 137)
HSLhsl(244, 72%, 31%)
HSVhsv(244, 84%, 54%)
CMYKcmyk(78.8%, 83.9%, 0%, 46.3%)
CIE-LABlab(18.54, 42.22, -61.07)
CIE-LCHlch(18.54, 74.25, 304.65°)
OKLaboklab(31.64% 0.0074 -0.1767)
OKLCHoklch(31.64% 0.177 272.4)
XYZxyz(5.3074, 2.6406, 23.8920)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1689 #828916
analogous
#164889 #1D1689 #561689
triadic
#1D1689 #891D16 #16891D
tetradic
#1D1689 #891648 #828916 #168956
square
#1D1689 #891648 #828916 #168956
split-complementary
#1D1689 #895616 #488916
monochromatic
#070520 #120E54 #1D1689 #281EBE #443ADF

Accessibility & contrast

On white

13.74
#1D1689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1D1689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1689
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1689#FFFFFF#000000##FFFFFF
##1D16891.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338C
Deuteranopia (green-blind)
#002787
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d1689;
/* rgb */ color: rgb(29, 22, 137);
/* oklch */ color: oklch(31.6% 0.177 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e57ad',
    500: '#1d1689',
    950: '#000000',
  },
}
SCSS
$custom: #1d1689;
$custom-light: #6e57ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1689",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 243.652,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.31639,
    "c": 0.17687,
    "h": 272.4
  },
  "luminance": 0.02641
}

Semantic roles & 50–950 ramp

primary
#1D1689
secondary
#B5BD3E
accent
#EF39E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #1D1689

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

Preview Lab → · Contrast checker → · Palette generator →

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