#1D3082#1D3082

#1D3082 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.140 H 268.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#1D3082
RGBrgb(29, 48, 130)
HSLhsl(229, 64%, 31%)
HSVhsv(229, 78%, 51%)
CMYKcmyk(77.7%, 63.1%, 0%, 49%)
CIE-LABlab(23.63, 23.66, -48.30)
CIE-LCHlch(23.63, 53.79, 296.10°)
OKLaboklab(35.07% -0.0045 -0.1396)
OKLCHoklch(35.07% 0.14 268.1)
XYZxyz(5.5915, 3.9862, 21.5895)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3082 #826F1D
analogous
#1D6282 #1D3082 #3C1D82
triadic
#1D3082 #821D30 #30821D
tetradic
#1D3082 #821D62 #826F1D #1D823C
square
#1D3082 #821D62 #826F1D #1D823C
split-complementary
#1D3082 #823C1D #62821D
monochromatic
#070B1E #121E50 #1D3082 #2842B4 #445FD5

Accessibility & contrast

On white

11.68
#1D3082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D3082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3082
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3082#FFFFFF#000000##FFFFFF
##1D30821.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D85
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d3082;
/* rgb */ color: rgb(29, 48, 130);
/* oklch */ color: oklch(35.1% 0.140 268.1);
Tailwind
colors: {
  custom: {
    50: '#6a68a7',
    500: '#1d3082',
    950: '#000000',
  },
}
SCSS
$custom: #1d3082;
$custom-light: #6a68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3082",
  "rgb": {
    "r": 29,
    "g": 48,
    "b": 130
  },
  "hsl": {
    "h": 228.713,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.35072,
    "c": 0.13964,
    "h": 268.1
  },
  "luminance": 0.03987
}

Semantic roles & 50–950 ramp

primary
#1D3082
secondary
#B5A046
accent
#C741E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3082

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

Preview Lab → · Contrast checker → · Palette generator →

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