#1D327C#1D327C

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

Color values

HEX#1D327C
RGBrgb(29, 50, 124)
HSLhsl(227, 62%, 30%)
HSVhsv(227, 77%, 49%)
CMYKcmyk(76.6%, 59.7%, 0%, 51.4%)
CIE-LABlab(23.66, 19.87, -44.46)
CIE-LCHlch(23.66, 48.70, 294.08°)
OKLaboklab(34.94% -0.0061 -0.1283)
OKLCHoklch(34.94% 0.128 267.3)
XYZxyz(5.2841, 3.9971, 19.5579)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D327C #7C671D
analogous
#1D617C #1D327C #381D7C
triadic
#1D327C #7C1D32 #327C1D
tetradic
#1D327C #7C1D61 #7C671D #1D7C38
square
#1D327C #7C1D61 #7C671D #1D7C38
split-complementary
#1D327C #7C381D #617C1D
monochromatic
#060A19 #111E4A #1D327C #2946AE #4161D3

Accessibility & contrast

On white

11.67
#1D327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D327C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D327C#FFFFFF#000000##FFFFFF
##1D327C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d327c;
/* rgb */ color: rgb(29, 50, 124);
/* oklch */ color: oklch(34.9% 0.128 267.3);
Tailwind
colors: {
  custom: {
    50: '#6869a3',
    500: '#1d327c',
    950: '#000000',
  },
}
SCSS
$custom: #1d327c;
$custom-light: #6869a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d327c",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 226.737,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.34937,
    "c": 0.12842,
    "h": 267.3
  },
  "luminance": 0.03998
}

Semantic roles & 50–950 ramp

primary
#1D327C
secondary
#B09845
accent
#C143E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D327C

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

Preview Lab → · Contrast checker → · Palette generator →

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