#1D327A#1D327A

#1D327A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.8% C 0.125 H 267.2°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1D327A
RGBrgb(29, 50, 122)
HSLhsl(226, 62%, 30%)
HSVhsv(226, 76%, 48%)
CMYKcmyk(76.2%, 59%, 0%, 52.2%)
CIE-LABlab(23.50, 19.07, -43.47)
CIE-LCHlch(23.50, 47.47, 293.69°)
OKLaboklab(34.76% -0.0062 -0.1253)
OKLCHoklch(34.76% 0.125 267.2)
XYZxyz(5.1589, 3.9470, 18.8985)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D327A #7A651D
analogous
#1D607A #1D327A #371D7A
triadic
#1D327A #7A1D32 #327A1D
tetradic
#1D327A #7A1D60 #7A651D #1D7A37
square
#1D327A #7A1D60 #7A651D #1D7A37
split-complementary
#1D327A #7A371D #607A1D
monochromatic
#060A19 #111E49 #1D327A #2946AB #4061D2

Accessibility & contrast

On white

11.73
#1D327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1D327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D327A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D327A#FFFFFF#000000##FFFFFF
##1D327A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d327a;
/* rgb */ color: rgb(29, 50, 122);
/* oklch */ color: oklch(34.8% 0.125 267.2);
Tailwind
colors: {
  custom: {
    50: '#6869a1',
    500: '#1d327a',
    950: '#000000',
  },
}
SCSS
$custom: #1d327a;
$custom-light: #6869a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d327a",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 226.452,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.3476,
    "c": 0.12549,
    "h": 267.2
  },
  "luminance": 0.03948
}

Semantic roles & 50–950 ramp

primary
#1D327A
secondary
#AE9645
accent
#C043E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D327A

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

Preview Lab → · Contrast checker → · Palette generator →

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