#1D3380#1D3380

#1D3380 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.133 H 267.1°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#1D3380
RGBrgb(29, 51, 128)
HSLhsl(227, 63%, 31%)
HSVhsv(227, 77%, 50%)
CMYKcmyk(77.3%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.28, 20.77, -45.98)
CIE-LCHlch(24.28, 50.45, 294.31°)
OKLaboklab(35.5% -0.0068 -0.1327)
OKLCHoklch(35.5% 0.133 267.1)
XYZxyz(5.5854, 4.1868, 20.9316)
Luminance0.0419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3380 #806A1D
analogous
#1D6480 #1D3380 #391D80
triadic
#1D3380 #801D33 #33801D
tetradic
#1D3380 #801D64 #806A1D #1D8039
square
#1D3380 #801D64 #806A1D #1D8039
split-complementary
#1D3380 #80391D #64801D
monochromatic
#060B1C #121F4E #1D3380 #2847B2 #4363D4

Accessibility & contrast

On white

11.43
#1D3380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#1D3380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3380
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3380#FFFFFF#000000##FFFFFF
##1D33801.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00357E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3380;
/* rgb */ color: rgb(29, 51, 128);
/* oklch */ color: oklch(35.5% 0.133 267.1);
Tailwind
colors: {
  custom: {
    50: '#696aa6',
    500: '#1d3380',
    950: '#000000',
  },
}
SCSS
$custom: #1d3380;
$custom-light: #696aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3380",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 226.667,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35504,
    "c": 0.13288,
    "h": 267.1
  },
  "luminance": 0.04187
}

Semantic roles & 50–950 ramp

primary
#1D3380
secondary
#B39B45
accent
#C242E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3380

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

Preview Lab → · Contrast checker → · Palette generator →

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