#1D3276#1D3276

#1D3276 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.4% C 0.120 H 266.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#1D3276
RGBrgb(29, 50, 118)
HSLhsl(226, 61%, 29%)
HSVhsv(226, 75%, 46%)
CMYKcmyk(75.4%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.17, 17.46, -41.46)
CIE-LCHlch(23.17, 44.98, 292.84°)
OKLaboklab(34.41% -0.0064 -0.1194)
OKLCHoklch(34.41% 0.12 266.9)
XYZxyz(4.9162, 3.8499, 17.6200)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3276 #76611D
analogous
#1D5F76 #1D3276 #351D76
triadic
#1D3276 #761D32 #32761D
tetradic
#1D3276 #761D5F #76611D #1D7635
square
#1D3276 #761D5F #76611D #1D7635
split-complementary
#1D3276 #76351D #5F761D
monochromatic
#060A19 #111D45 #1D3276 #2947A7 #3E60D0

Accessibility & contrast

On white

11.86
#1D3276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D3276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3276
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3276#FFFFFF#000000##FFFFFF
##1D32761.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d3276;
/* rgb */ color: rgb(29, 50, 118);
/* oklch */ color: oklch(34.4% 0.120 266.9);
Tailwind
colors: {
  custom: {
    50: '#67699e',
    500: '#1d3276',
    950: '#000000',
  },
}
SCSS
$custom: #1d3276;
$custom-light: #67699e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3276",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 225.843,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34412,
    "c": 0.1196,
    "h": 266.9
  },
  "luminance": 0.0385
}

Semantic roles & 50–950 ramp

primary
#1D3276
secondary
#AA9245
accent
#BE44E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1D3276

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

Preview Lab → · Contrast checker → · Palette generator →

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