#1D2076#1D2076

#1D2076 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.143 H 272.8°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#1D2076
RGBrgb(29, 32, 118)
HSLhsl(238, 61%, 29%)
HSVhsv(238, 75%, 46%)
CMYKcmyk(75.4%, 72.9%, 0%, 53.7%)
CIE-LABlab(18.37, 29.89, -49.29)
CIE-LCHlch(18.37, 57.65, 301.23°)
OKLaboklab(30.88% 0.007 -0.1426)
OKLCHoklch(30.88% 0.143 272.8)
XYZxyz(4.2921, 2.6018, 17.4120)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2076 #76731D
analogous
#1D4D76 #1D2076 #471D76
triadic
#1D2076 #761D20 #20761D
tetradic
#1D2076 #761D4D #76731D #1D7647
square
#1D2076 #761D4D #76731D #1D7647
split-complementary
#1D2076 #76471D #4D761D
monochromatic
#060719 #111345 #1D2076 #292DA7 #3E43D0

Accessibility & contrast

On white

13.81
#1D2076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D2076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2076
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2076#FFFFFF#000000##FFFFFF
##1D20761.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2076;
/* rgb */ color: rgb(29, 32, 118);
/* oklch */ color: oklch(30.9% 0.143 272.8);
Tailwind
colors: {
  custom: {
    50: '#685c9e',
    500: '#1d2076',
    950: '#000000',
  },
}
SCSS
$custom: #1d2076;
$custom-light: #685c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2076",
  "rgb": {
    "r": 29,
    "g": 32,
    "b": 118
  },
  "hsl": {
    "h": 237.978,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.30876,
    "c": 0.14274,
    "h": 272.8
  },
  "luminance": 0.02602
}

Semantic roles & 50–950 ramp

primary
#1D2076
secondary
#AAA745
accent
#DE44E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1D2076

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

Preview Lab → · Contrast checker → · Palette generator →

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