#1D337A#1D337A

#1D337A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.124 H 266.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1D337A
RGBrgb(29, 51, 122)
HSLhsl(226, 62%, 30%)
HSVhsv(226, 76%, 48%)
CMYKcmyk(76.2%, 58.2%, 0%, 52.2%)
CIE-LABlab(23.78, 18.37, -43.00)
CIE-LCHlch(23.78, 46.76, 293.13°)
OKLaboklab(34.98% -0.007 -0.124)
OKLCHoklch(34.98% 0.124 266.7)
XYZxyz(5.2021, 4.0334, 18.9129)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D337A #7A641D
analogous
#1D627A #1D337A #351D7A
triadic
#1D337A #7A1D33 #337A1D
tetradic
#1D337A #7A1D62 #7A641D #1D7A35
square
#1D337A #7A1D62 #7A641D #1D7A35
split-complementary
#1D337A #7A351D #627A1D
monochromatic
#060A19 #111E49 #1D337A #2948AB #4062D2

Accessibility & contrast

On white

11.62
#1D337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1D337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D337A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D337A#FFFFFF#000000##FFFFFF
##1D337A1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d337a;
/* rgb */ color: rgb(29, 51, 122);
/* oklch */ color: oklch(35.0% 0.124 266.7);
Tailwind
colors: {
  custom: {
    50: '#676aa1',
    500: '#1d337a',
    950: '#000000',
  },
}
SCSS
$custom: #1d337a;
$custom-light: #676aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d337a",
  "rgb": {
    "r": 29,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 225.806,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34975,
    "c": 0.12416,
    "h": 266.7
  },
  "luminance": 0.04034
}

Semantic roles & 50–950 ramp

primary
#1D337A
secondary
#AE9545
accent
#BE43E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D337A

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

Preview Lab → · Contrast checker → · Palette generator →

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