#1D337D#1D337D

#1D337D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.129 H 266.9°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#1D337D
RGBrgb(29, 51, 125)
HSLhsl(226, 62%, 30%)
HSVhsv(226, 77%, 49%)
CMYKcmyk(76.8%, 59.2%, 0%, 51%)
CIE-LABlab(24.03, 19.57, -44.50)
CIE-LCHlch(24.03, 48.61, 293.74°)
OKLaboklab(35.24% -0.0069 -0.1284)
OKLCHoklch(35.24% 0.129 266.9)
XYZxyz(5.3909, 4.1090, 19.9071)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D337D #7D671D
analogous
#1D637D #1D337D #371D7D
triadic
#1D337D #7D1D33 #337D1D
tetradic
#1D337D #7D1D63 #7D671D #1D7D37
square
#1D337D #7D1D63 #7D671D #1D7D37
split-complementary
#1D337D #7D371D #637D1D
monochromatic
#060A1A #111F4B #1D337D #2947AF #4163D3

Accessibility & contrast

On white

11.53
#1D337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1D337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D337D
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D337D#FFFFFF#000000##FFFFFF
##1D337D1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d337d;
/* rgb */ color: rgb(29, 51, 125);
/* oklch */ color: oklch(35.2% 0.129 266.9);
Tailwind
colors: {
  custom: {
    50: '#686aa3',
    500: '#1d337d',
    950: '#000000',
  },
}
SCSS
$custom: #1d337d;
$custom-light: #686aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d337d",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 226.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35238,
    "c": 0.12854,
    "h": 266.9
  },
  "luminance": 0.0411
}

Semantic roles & 50–950 ramp

primary
#1D337D
secondary
#B19845
accent
#C042E5
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D337D

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

Preview Lab → · Contrast checker → · Palette generator →

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