#1D3281#1D3281

#1D3281 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.136 H 267.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#1D3281
RGBrgb(29, 50, 129)
HSLhsl(227, 63%, 31%)
HSVhsv(227, 78%, 51%)
CMYKcmyk(77.5%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.09, 21.87, -46.92)
CIE-LCHlch(24.09, 51.77, 294.99°)
OKLaboklab(35.39% -0.006 -0.1355)
OKLCHoklch(35.39% 0.136 267.5)
XYZxyz(5.6084, 4.1268, 21.2656)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3281 #816C1D
analogous
#1D6481 #1D3281 #3A1D81
triadic
#1D3281 #811D32 #32811D
tetradic
#1D3281 #811D64 #816C1D #1D813A
square
#1D3281 #811D64 #816C1D #1D813A
split-complementary
#1D3281 #813A1D #64811D
monochromatic
#070B1D #121F4F #1D3281 #2845B3 #4462D5

Accessibility & contrast

On white

11.50
#1D3281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D3281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3281
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3281#FFFFFF#000000##FFFFFF
##1D32811.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d3281;
/* rgb */ color: rgb(29, 50, 129);
/* oklch */ color: oklch(35.4% 0.136 267.5);
Tailwind
colors: {
  custom: {
    50: '#6969a6',
    500: '#1d3281',
    950: '#000000',
  },
}
SCSS
$custom: #1d3281;
$custom-light: #6969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3281",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 227.4,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35387,
    "c": 0.13563,
    "h": 267.5
  },
  "luminance": 0.04127
}

Semantic roles & 50–950 ramp

primary
#1D3281
secondary
#B49D46
accent
#C441E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D3281

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

Preview Lab → · Contrast checker → · Palette generator →

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