#1D328B#1D328B

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

Color values

HEX#1D328B
RGBrgb(29, 50, 139)
HSLhsl(229, 65%, 33%)
HSVhsv(229, 79%, 55%)
CMYKcmyk(79.1%, 64%, 0%, 45.5%)
CIE-LABlab(24.97, 25.82, -51.73)
CIE-LCHlch(24.97, 57.82, 296.52°)
OKLaboklab(36.32% -0.006 -0.1496)
OKLCHoklch(36.32% 0.15 267.7)
XYZxyz(6.3059, 4.4058, 24.9392)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D328B #8B761D
analogous
#1D698B #1D328B #3F1D8B
triadic
#1D328B #8B1D32 #328B1D
tetradic
#1D328B #8B1D69 #8B761D #1D8B3F
square
#1D328B #8B1D69 #8B761D #1D8B3F
split-complementary
#1D328B #8B3F1D #698B1D
monochromatic
#080E26 #122058 #1D328B #2844BE #4965D9

Accessibility & contrast

On white

11.16
#1D328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D328B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D328B#FFFFFF#000000##FFFFFF
##1D328B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d328b;
/* rgb */ color: rgb(29, 50, 139);
/* oklch */ color: oklch(36.3% 0.150 267.7);
Tailwind
colors: {
  custom: {
    50: '#6c69ae',
    500: '#1d328b',
    950: '#000000',
  },
}
SCSS
$custom: #1d328b;
$custom-light: #6c69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d328b",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 228.545,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36317,
    "c": 0.14971,
    "h": 267.7
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#1D328B
secondary
#BBA549
accent
#C83FE8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D328B

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

Preview Lab → · Contrast checker → · Palette generator →

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