#1D1683#1D1683

#1D1683 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.9% C 0.170 H 273.0°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1D1683
RGBrgb(29, 22, 131)
HSLhsl(244, 71%, 30%)
HSVhsv(244, 83%, 51%)
CMYKcmyk(77.9%, 83.2%, 0%, 48.6%)
CIE-LABlab(17.80, 40.27, -58.53)
CIE-LCHlch(17.80, 71.05, 304.53°)
OKLaboklab(30.91% 0.009 -0.1693)
OKLCHoklch(30.91% 0.17 273)
XYZxyz(4.8890, 2.4732, 21.6880)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1683 #7C8316
analogous
#164683 #1D1683 #531683
triadic
#1D1683 #831D16 #16831D
tetradic
#1D1683 #831646 #7C8316 #168353
square
#1D1683 #831646 #7C8316 #168353
split-complementary
#1D1683 #835316 #468316
monochromatic
#06041A #110D4F #1D1683 #291FB7 #4136DD

Accessibility & contrast

On white

14.05
#1D1683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1D1683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1683
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1683#FFFFFF#000000##FFFFFF
##1D16831.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003186
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00384D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d1683;
/* rgb */ color: rgb(29, 22, 131);
/* oklch */ color: oklch(30.9% 0.170 273.0);
Tailwind
colors: {
  custom: {
    50: '#6d56a8',
    500: '#1d1683',
    950: '#000000',
  },
}
SCSS
$custom: #1d1683;
$custom-light: #6d56a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1683",
  "rgb": {
    "r": 29,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 243.853,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.30907,
    "c": 0.16958,
    "h": 273
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#1D1683
secondary
#B0B73D
accent
#EE3AE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #1D1683

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

Preview Lab → · Contrast checker → · Palette generator →

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