#1D3288#1D3288

#1D3288 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.146 H 267.7°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1D3288
RGBrgb(29, 50, 136)
HSLhsl(228, 65%, 32%)
HSVhsv(228, 79%, 53%)
CMYKcmyk(78.7%, 63.2%, 0%, 46.7%)
CIE-LABlab(24.70, 24.64, -50.30)
CIE-LCHlch(24.70, 56.02, 296.10°)
OKLaboklab(36.03% -0.006 -0.1454)
OKLCHoklch(36.03% 0.146 267.7)
XYZxyz(6.0897, 4.3193, 23.8005)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3288 #88731D
analogous
#1D6888 #1D3288 #3D1D88
triadic
#1D3288 #881D32 #32881D
tetradic
#1D3288 #881D68 #88731D #1D883D
square
#1D3288 #881D68 #88731D #1D883D
split-complementary
#1D3288 #883D1D #68881D
monochromatic
#070D23 #121F56 #1D3288 #2845BA #4864D8

Accessibility & contrast

On white

11.27
#1D3288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D3288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3288
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3288#FFFFFF#000000##FFFFFF
##1D32881.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1d3288;
/* rgb */ color: rgb(29, 50, 136);
/* oklch */ color: oklch(36.0% 0.146 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b69ab',
    500: '#1d3288',
    950: '#000000',
  },
}
SCSS
$custom: #1d3288;
$custom-light: #6b69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3288",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 136
  },
  "hsl": {
    "h": 228.224,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36034,
    "c": 0.14553,
    "h": 267.7
  },
  "luminance": 0.0432
}

Semantic roles & 50–950 ramp

primary
#1D3288
secondary
#BAA347
accent
#C740E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #1D3288

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

Preview Lab → · Contrast checker → · Palette generator →

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