#1D2282#1D2282

#1D2282 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.157 H 271.5°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1D2282
RGBrgb(29, 34, 130)
HSLhsl(237, 64%, 31%)
HSVhsv(237, 78%, 51%)
CMYKcmyk(77.7%, 73.8%, 0%, 49%)
CIE-LABlab(20.11, 33.02, -54.08)
CIE-LCHlch(20.11, 63.36, 301.41°)
OKLaboklab(32.51% 0.0041 -0.1565)
OKLCHoklch(32.51% 0.157 271.5)
XYZxyz(5.1066, 3.0164, 21.4279)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2282 #827D1D
analogous
#1D5482 #1D2282 #4A1D82
triadic
#1D2282 #821D22 #22821D
tetradic
#1D2282 #821D54 #827D1D #1D824A
square
#1D2282 #821D54 #827D1D #1D824A
split-complementary
#1D2282 #824A1D #54821D
monochromatic
#07081E #121550 #1D2282 #282FB4 #444BD5

Accessibility & contrast

On white

13.10
#1D2282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2282
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2282#FFFFFF#000000##FFFFFF
##1D22821.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2282;
/* rgb */ color: rgb(29, 34, 130);
/* oklch */ color: oklch(32.5% 0.157 271.5);
Tailwind
colors: {
  custom: {
    50: '#6b5ea7',
    500: '#1d2282',
    950: '#000000',
  },
}
SCSS
$custom: #1d2282;
$custom-light: #6b5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2282",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 237.03,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32505,
    "c": 0.15657,
    "h": 271.5
  },
  "luminance": 0.03017
}

Semantic roles & 50–950 ramp

primary
#1D2282
secondary
#B5B046
accent
#DE41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2282

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

Preview Lab → · Contrast checker → · Palette generator →

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