#1D2096#1D2096

#1D2096 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.5% C 0.184 H 270.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2096
RGBrgb(29, 32, 150)
HSLhsl(239, 68%, 35%)
HSVhsv(239, 81%, 59%)
CMYKcmyk(80.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(21.93, 41.26, -63.55)
CIE-LCHlch(21.93, 75.77, 303.00°)
OKLaboklab(34.46% 0.0015 -0.184)
OKLCHoklch(34.46% 0.184 270.5)
XYZxyz(6.5264, 3.4955, 29.1790)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2096 #96931D
analogous
#1D5D96 #1D2096 #561D96
triadic
#1D2096 #961D20 #20961D
tetradic
#1D2096 #961D5D #96931D #1D9656
square
#1D2096 #961D5D #96931D #1D9656
split-complementary
#1D2096 #96561D #5D961D
monochromatic
#090A2F #131563 #1D2096 #272BC9 #5054DD

Accessibility & contrast

On white

12.36
#1D2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2096
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2096#FFFFFF#000000##FFFFFF
##1D20961.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002E94
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2096;
/* rgb */ color: rgb(29, 32, 150);
/* oklch */ color: oklch(34.5% 0.184 270.5);
Tailwind
colors: {
  custom: {
    50: '#715eb6',
    500: '#1d2096',
    950: '#000000',
  },
}
SCSS
$custom: #1d2096;
$custom-light: #715eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2096",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 238.512,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34459,
    "c": 0.18405,
    "h": 270.5
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#1D2096
secondary
#C0BD4F
accent
#E63DEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #1D2096

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

Preview Lab → · Contrast checker → · Palette generator →

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