#1D3296#1D3296

#1D3296 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.165 H 267.8°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#1D3296
RGBrgb(29, 50, 150)
HSLhsl(230, 68%, 35%)
HSVhsv(230, 81%, 59%)
CMYKcmyk(80.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(25.99, 30.08, -56.85)
CIE-LCHlch(25.99, 64.32, 297.88°)
OKLaboklab(37.38% -0.0064 -0.1646)
OKLCHoklch(37.38% 0.165 267.8)
XYZxyz(7.1504, 4.7436, 29.3870)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3296 #96811D
analogous
#1D6E96 #1D3296 #451D96
triadic
#1D3296 #961D32 #32961D
tetradic
#1D3296 #961D6E #96811D #1D9645
square
#1D3296 #961D6E #96811D #1D9645
split-complementary
#1D3296 #96451D #6E961D
monochromatic
#09102F #132163 #1D3296 #2743C9 #5069DD

Accessibility & contrast

On white

10.78
#1D3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#1D3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3296
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3296#FFFFFF#000000##FFFFFF
##1D32961.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1d3296;
/* rgb */ color: rgb(29, 50, 150);
/* oklch */ color: oklch(37.4% 0.165 267.8);
Tailwind
colors: {
  custom: {
    50: '#6f69b6',
    500: '#1d3296',
    950: '#000000',
  },
}
SCSS
$custom: #1d3296;
$custom-light: #6f69b6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3296",
  "rgb": {
    "r": 29,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 229.587,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37383,
    "c": 0.1647,
    "h": 267.8
  },
  "luminance": 0.04744
}

Semantic roles & 50–950 ramp

primary
#1D3296
secondary
#C0AC4F
accent
#CC3DEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1D3296

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

Preview Lab → · Contrast checker → · Palette generator →

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