#1D327F#1D327F

#1D327F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.133 H 267.4°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#1D327F
RGBrgb(29, 50, 127)
HSLhsl(227, 63%, 31%)
HSVhsv(227, 77%, 50%)
CMYKcmyk(77.2%, 60.6%, 0%, 50.2%)
CIE-LABlab(23.91, 21.07, -45.94)
CIE-LCHlch(23.91, 50.55, 294.64°)
OKLaboklab(35.21% -0.006 -0.1326)
OKLCHoklch(35.21% 0.133 267.4)
XYZxyz(5.4767, 4.0741, 20.5723)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D327F #7F6A1D
analogous
#1D637F #1D327F #391D7F
triadic
#1D327F #7F1D32 #327F1D
tetradic
#1D327F #7F1D63 #7F6A1D #1D7F39
square
#1D327F #7F1D63 #7F6A1D #1D7F39
split-complementary
#1D327F #7F391D #637F1D
monochromatic
#060B1B #121E4D #1D327F #2846B1 #4262D4

Accessibility & contrast

On white

11.57
#1D327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D327F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D327F#FFFFFF#000000##FFFFFF
##1D327F1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d327f;
/* rgb */ color: rgb(29, 50, 127);
/* oklch */ color: oklch(35.2% 0.133 267.4);
Tailwind
colors: {
  custom: {
    50: '#6969a5',
    500: '#1d327f',
    950: '#000000',
  },
}
SCSS
$custom: #1d327f;
$custom-light: #6969a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d327f",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 227.143,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35205,
    "c": 0.13276,
    "h": 267.4
  },
  "luminance": 0.04075
}

Semantic roles & 50–950 ramp

primary
#1D327F
secondary
#B29B45
accent
#C342E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D327F

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

Preview Lab → · Contrast checker → · Palette generator →

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