#1D2672#1D2672

#1D2672 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.130 H 271.4°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1D2672
RGBrgb(29, 38, 114)
HSLhsl(234, 59%, 28%)
HSVhsv(234, 75%, 45%)
CMYKcmyk(74.6%, 66.7%, 0%, 55.3%)
CIE-LABlab(19.48, 24.33, -44.90)
CIE-LCHlch(19.48, 51.07, 298.45°)
OKLaboklab(31.56% 0.0033 -0.1297)
OKLCHoklch(31.56% 0.13 271.4)
XYZxyz(4.2360, 2.8619, 16.2455)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2672 #72691D
analogous
#1D5072 #1D2672 #3E1D72
triadic
#1D2672 #721D26 #26721D
tetradic
#1D2672 #721D50 #72691D #1D723E
square
#1D2672 #721D50 #72691D #1D723E
split-complementary
#1D2672 #723E1D #50721D
monochromatic
#060818 #111641 #1D2672 #2936A3 #3C4BCD

Accessibility & contrast

On white

13.36
#1D2672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1D2672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2672
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2672#FFFFFF#000000##FFFFFF
##1D26721.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003374
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2672;
/* rgb */ color: rgb(29, 38, 114);
/* oklch */ color: oklch(31.6% 0.130 271.4);
Tailwind
colors: {
  custom: {
    50: '#67609b',
    500: '#1d2672',
    950: '#000000',
  },
}
SCSS
$custom: #1d2672;
$custom-light: #67609b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2672",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 233.647,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31561,
    "c": 0.12974,
    "h": 271.4
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#1D2672
secondary
#A69C45
accent
#D245E3
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2672

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

Preview Lab → · Contrast checker → · Palette generator →

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