#1D328D#1D328D

#1D328D is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.5% C 0.152 H 267.7°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#1D328D
RGBrgb(29, 50, 141)
HSLhsl(229, 66%, 33%)
HSVhsv(229, 79%, 55%)
CMYKcmyk(79.4%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.15, 26.60, -52.67)
CIE-LCHlch(25.15, 59.01, 296.79°)
OKLaboklab(36.51% -0.006 -0.1524)
OKLCHoklch(36.51% 0.152 267.7)
XYZxyz(6.4533, 4.4648, 25.7158)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D328D #8D781D
analogous
#1D6A8D #1D328D #401D8D
triadic
#1D328D #8D1D32 #328D1D
tetradic
#1D328D #8D1D6A #8D781D #1D8D40
square
#1D328D #8D1D6A #8D781D #1D8D40
split-complementary
#1D328D #8D401D #6A8D1D
monochromatic
#080E27 #13205A #1D328D #2744C0 #4B65DA

Accessibility & contrast

On white

11.09
#1D328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#1D328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D328D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D328D#FFFFFF#000000##FFFFFF
##1D328D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1d328d;
/* rgb */ color: rgb(29, 50, 141);
/* oklch */ color: oklch(36.5% 0.152 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d69af',
    500: '#1d328d',
    950: '#000000',
  },
}
SCSS
$custom: #1d328d;
$custom-light: #6d69af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d328d",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 228.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36508,
    "c": 0.15248,
    "h": 267.7
  },
  "luminance": 0.04466
}

Semantic roles & 50–950 ramp

primary
#1D328D
secondary
#BCA74A
accent
#C93FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D328D

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

Preview Lab → · Contrast checker → · Palette generator →

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