#1D3694#1D3694

#1D3694 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.157 H 266.9°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1D3694
RGBrgb(29, 54, 148)
HSLhsl(227, 67%, 35%)
HSVhsv(227, 80%, 58%)
CMYKcmyk(80.4%, 63.5%, 0%, 42%)
CIE-LABlab(26.84, 26.61, -54.23)
CIE-LCHlch(26.84, 60.41, 296.13°)
OKLaboklab(37.95% -0.0086 -0.1569)
OKLCHoklch(37.95% 0.157 266.9)
XYZxyz(7.1693, 5.0368, 28.6056)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D3694 #947B1D
analogous
#1D7294 #1D3694 #401D94
triadic
#1D3694 #941D36 #36941D
tetradic
#1D3694 #941D72 #947B1D #1D9440
square
#1D3694 #941D72 #947B1D #1D9440
split-complementary
#1D3694 #94401D #72941D
monochromatic
#09112E #132361 #1D3694 #2749C7 #4F6DDC

Accessibility & contrast

On white

10.46
#1D3694 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1D3694 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D3694
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D3694#FFFFFF#000000##FFFFFF
##1D36941.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004597
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1d3694;
/* rgb */ color: rgb(29, 54, 148);
/* oklch */ color: oklch(38.0% 0.157 266.9);
Tailwind
colors: {
  custom: {
    50: '#6e6cb4',
    500: '#1d3694',
    950: '#000000',
  },
}
SCSS
$custom: #1d3694;
$custom-light: #6e6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d3694",
  "rgb": {
    "r": 29,
    "g": 54,
    "b": 148
  },
  "hsl": {
    "h": 227.395,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37951,
    "c": 0.15712,
    "h": 266.9
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#1D3694
secondary
#BFA74E
accent
#C63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1D3694

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

Preview Lab → · Contrast checker → · Palette generator →

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