#1D2682#1D2682

#1D2682 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.152 H 270.7°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#1D2682
RGBrgb(29, 38, 130)
HSLhsl(235, 64%, 31%)
HSVhsv(235, 78%, 51%)
CMYKcmyk(77.7%, 70.8%, 0%, 49%)
CIE-LABlab(21.05, 30.45, -52.52)
CIE-LCHlch(21.05, 60.71, 300.10°)
OKLaboklab(33.18% 0.0019 -0.152)
OKLCHoklch(33.18% 0.152 270.7)
XYZxyz(5.2277, 3.2586, 21.4682)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2682 #82791D
analogous
#1D5882 #1D2682 #461D82
triadic
#1D2682 #821D26 #26821D
tetradic
#1D2682 #821D58 #82791D #1D8246
square
#1D2682 #821D58 #82791D #1D8246
split-complementary
#1D2682 #82461D #58821D
monochromatic
#07091E #121750 #1D2682 #2835B4 #4451D5

Accessibility & contrast

On white

12.71
#1D2682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2682
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2682#FFFFFF#000000##FFFFFF
##1D26821.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2682;
/* rgb */ color: rgb(29, 38, 130);
/* oklch */ color: oklch(33.2% 0.152 270.7);
Tailwind
colors: {
  custom: {
    50: '#6b60a7',
    500: '#1d2682',
    950: '#000000',
  },
}
SCSS
$custom: #1d2682;
$custom-light: #6b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2682",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 234.653,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.15201,
    "h": 270.7
  },
  "luminance": 0.03259
}

Semantic roles & 50–950 ramp

primary
#1D2682
secondary
#B5AB46
accent
#D841E7
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2682

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

Preview Lab → · Contrast checker → · Palette generator →

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