#1D3285#1D3285

#1D3285 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.141 H 267.6°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#1D3285
RGBrgb(29, 50, 133)
HSLhsl(228, 64%, 32%)
HSVhsv(228, 78%, 52%)
CMYKcmyk(78.2%, 62.4%, 0%, 47.8%)
CIE-LABlab(24.43, 23.46, -48.87)
CIE-LCHlch(24.43, 54.20, 295.64°)
OKLaboklab(35.75% -0.0059 -0.1412)
OKLCHoklch(35.75% 0.141 267.6)
XYZxyz(5.8795, 4.2352, 22.6934)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3285 #85701D
analogous
#1D6685 #1D3285 #3C1D85
triadic
#1D3285 #851D32 #32851D
tetradic
#1D3285 #851D66 #85701D #1D853C
square
#1D3285 #851D66 #85701D #1D853C
split-complementary
#1D3285 #853C1D #66851D
monochromatic
#070C21 #121F53 #1D3285 #2845B7 #4663D7

Accessibility & contrast

On white

11.37
#1D3285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#1D3285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3285
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3285#FFFFFF#000000##FFFFFF
##1D32851.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d3285;
/* rgb */ color: rgb(29, 50, 133);
/* oklch */ color: oklch(35.8% 0.141 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a69a9',
    500: '#1d3285',
    950: '#000000',
  },
}
SCSS
$custom: #1d3285;
$custom-light: #6a69a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3285",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 227.885,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35754,
    "c": 0.14131,
    "h": 267.6
  },
  "luminance": 0.04236
}

Semantic roles & 50–950 ramp

primary
#1D3285
secondary
#B8A146
accent
#C641E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3285

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

Preview Lab → · Contrast checker → · Palette generator →

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