#1D337E#1D337E

#1D337E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.130 H 267.0°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1D337E
RGBrgb(29, 51, 126)
HSLhsl(226, 63%, 30%)
HSVhsv(226, 77%, 49%)
CMYKcmyk(77%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.11, 19.97, -44.99)
CIE-LCHlch(24.11, 49.23, 293.94°)
OKLaboklab(35.33% -0.0068 -0.1298)
OKLCHoklch(35.33% 0.13 267)
XYZxyz(5.4551, 4.1346, 20.2452)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D337E #7E681D
analogous
#1D637E #1D337E #371D7E
triadic
#1D337E #7E1D33 #337E1D
tetradic
#1D337E #7E1D63 #7E681D #1D7E37
square
#1D337E #7E1D63 #7E681D #1D7E37
split-complementary
#1D337E #7E371D #637E1D
monochromatic
#060B1B #121F4C #1D337E #2847B0 #4263D3

Accessibility & contrast

On white

11.49
#1D337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D337E
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D337E#FFFFFF#000000##FFFFFF
##1D337E1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d337e;
/* rgb */ color: rgb(29, 51, 126);
/* oklch */ color: oklch(35.3% 0.130 267.0);
Tailwind
colors: {
  custom: {
    50: '#686aa4',
    500: '#1d337e',
    950: '#000000',
  },
}
SCSS
$custom: #1d337e;
$custom-light: #686aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d337e",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 226.392,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.35326,
    "c": 0.12999,
    "h": 267
  },
  "luminance": 0.04135
}

Semantic roles & 50–950 ramp

primary
#1D337E
secondary
#B19945
accent
#C142E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D337E

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

Preview Lab → · Contrast checker → · Palette generator →

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