#1D327D#1D327D

#1D327D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.130 H 267.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1D327D
RGBrgb(29, 50, 125)
HSLhsl(227, 62%, 30%)
HSVhsv(227, 77%, 49%)
CMYKcmyk(76.8%, 60%, 0%, 51%)
CIE-LABlab(23.75, 20.28, -44.96)
CIE-LCHlch(23.75, 49.32, 294.27°)
OKLaboklab(35.03% -0.0061 -0.1297)
OKLCHoklch(35.03% 0.13 267.3)
XYZxyz(5.3477, 4.0225, 19.8926)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D327D #7D681D
analogous
#1D627D #1D327D #381D7D
triadic
#1D327D #7D1D32 #327D1D
tetradic
#1D327D #7D1D62 #7D681D #1D7D38
square
#1D327D #7D1D62 #7D681D #1D7D38
split-complementary
#1D327D #7D381D #627D1D
monochromatic
#060A1A #111E4B #1D327D #2946AF #4161D3

Accessibility & contrast

On white

11.64
#1D327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D327D
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D327D#FFFFFF#000000##FFFFFF
##1D327D1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d327d;
/* rgb */ color: rgb(29, 50, 125);
/* oklch */ color: oklch(35.0% 0.130 267.3);
Tailwind
colors: {
  custom: {
    50: '#6869a3',
    500: '#1d327d',
    950: '#000000',
  },
}
SCSS
$custom: #1d327d;
$custom-light: #6869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d327d",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 226.875,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35026,
    "c": 0.12986,
    "h": 267.3
  },
  "luminance": 0.04023
}

Semantic roles & 50–950 ramp

primary
#1D327D
secondary
#B19945
accent
#C242E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D327D

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

Preview Lab → · Contrast checker → · Palette generator →

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