#1D327E#1D327E

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

Color values

HEX#1D327E
RGBrgb(29, 50, 126)
HSLhsl(227, 63%, 30%)
HSVhsv(227, 77%, 49%)
CMYKcmyk(77%, 60.3%, 0%, 50.6%)
CIE-LABlab(23.83, 20.67, -45.45)
CIE-LCHlch(23.83, 49.93, 294.46°)
OKLaboklab(35.12% -0.0061 -0.1312)
OKLCHoklch(35.12% 0.131 267.4)
XYZxyz(5.4119, 4.0482, 20.2308)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D327E #7E691D
analogous
#1D637E #1D327E #381D7E
triadic
#1D327E #7E1D32 #327E1D
tetradic
#1D327E #7E1D63 #7E691D #1D7E38
square
#1D327E #7E1D63 #7E691D #1D7E38
split-complementary
#1D327E #7E381D #637E1D
monochromatic
#060B1B #121E4C #1D327E #2846B0 #4261D3

Accessibility & contrast

On white

11.60
#1D327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D327E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D327E#FFFFFF#000000##FFFFFF
##1D327E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d327e;
/* rgb */ color: rgb(29, 50, 126);
/* oklch */ color: oklch(35.1% 0.131 267.4);
Tailwind
colors: {
  custom: {
    50: '#6969a4',
    500: '#1d327e',
    950: '#000000',
  },
}
SCSS
$custom: #1d327e;
$custom-light: #6969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d327e",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 227.01,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35115,
    "c": 0.13131,
    "h": 267.4
  },
  "luminance": 0.04049
}

Semantic roles & 50–950 ramp

primary
#1D327E
secondary
#B19A45
accent
#C242E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D327E

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

Preview Lab → · Contrast checker → · Palette generator →

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