#1D328A#1D328A

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

Color values

HEX#1D328A
RGBrgb(29, 50, 138)
HSLhsl(228, 65%, 33%)
HSVhsv(228, 79%, 54%)
CMYKcmyk(79%, 63.8%, 0%, 45.9%)
CIE-LABlab(24.88, 25.43, -51.26)
CIE-LCHlch(24.88, 57.22, 296.38°)
OKLaboklab(36.22% -0.006 -0.1482)
OKLCHoklch(36.22% 0.148 267.7)
XYZxyz(6.2331, 4.3767, 24.5561)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D328A #8A751D
analogous
#1D698A #1D328A #3E1D8A
triadic
#1D328A #8A1D32 #328A1D
tetradic
#1D328A #8A1D69 #8A751D #1D8A3E
square
#1D328A #8A1D69 #8A751D #1D8A3E
split-complementary
#1D328A #8A3E1D #698A1D
monochromatic
#080D25 #122057 #1D328A #2844BD #4964D9

Accessibility & contrast

On white

11.20
#1D328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1D328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D328A
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D328A#FFFFFF#000000##FFFFFF
##1D328A1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d328a;
/* rgb */ color: rgb(29, 50, 138);
/* oklch */ color: oklch(36.2% 0.148 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c69ad',
    500: '#1d328a',
    950: '#000000',
  },
}
SCSS
$custom: #1d328a;
$custom-light: #6c69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d328a",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 228.44,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36222,
    "c": 0.14833,
    "h": 267.7
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#1D328A
secondary
#BBA548
accent
#C840E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D328A

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

Preview Lab → · Contrast checker → · Palette generator →

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