#1D328C#1D328C

#1D328C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.151 H 267.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#1D328C
RGBrgb(29, 50, 140)
HSLhsl(229, 66%, 33%)
HSVhsv(229, 79%, 55%)
CMYKcmyk(79.3%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.06, 26.21, -52.20)
CIE-LCHlch(25.06, 58.41, 296.66°)
OKLaboklab(36.41% -0.006 -0.151)
OKLCHoklch(36.41% 0.151 267.7)
XYZxyz(6.3793, 4.4351, 25.3257)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D328C #8C771D
analogous
#1D698C #1D328C #401D8C
triadic
#1D328C #8C1D32 #328C1D
tetradic
#1D328C #8C1D69 #8C771D #1D8C40
square
#1D328C #8C1D69 #8C771D #1D8C40
split-complementary
#1D328C #8C401D #698C1D
monochromatic
#080E27 #122059 #1D328C #2844BF #4A65D9

Accessibility & contrast

On white

11.13
#1D328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D328C
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D328C#FFFFFF#000000##FFFFFF
##1D328C1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d328c;
/* rgb */ color: rgb(29, 50, 140);
/* oklch */ color: oklch(36.4% 0.151 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c69ae',
    500: '#1d328c',
    950: '#000000',
  },
}
SCSS
$custom: #1d328c;
$custom-light: #6c69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d328c",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 228.649,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36412,
    "c": 0.1511,
    "h": 267.7
  },
  "luminance": 0.04436
}

Semantic roles & 50–950 ramp

primary
#1D328C
secondary
#BCA649
accent
#C93FE9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D328C

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

Preview Lab → · Contrast checker → · Palette generator →

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