#1D2B7F#1D2B7F

#1D2B7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.142 H 269.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#1D2B7F
RGBrgb(29, 43, 127)
HSLhsl(231, 63%, 31%)
HSVhsv(231, 77%, 50%)
CMYKcmyk(77.2%, 66.1%, 0%, 50.2%)
CIE-LABlab(22.02, 25.94, -49.04)
CIE-LCHlch(22.02, 55.48, 297.87°)
OKLaboklab(33.8% -0.001 -0.1418)
OKLCHoklch(33.8% 0.142 269.6)
XYZxyz(5.2000, 3.5207, 20.4801)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B7F #7F711D
analogous
#1D5C7F #1D2B7F #401D7F
triadic
#1D2B7F #7F1D2B #2B7F1D
tetradic
#1D2B7F #7F1D5C #7F711D #1D7F40
square
#1D2B7F #7F1D5C #7F711D #1D7F40
split-complementary
#1D2B7F #7F401D #5C7F1D
monochromatic
#06091B #121A4D #1D2B7F #283CB1 #4257D4

Accessibility & contrast

On white

12.32
#1D2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1D2B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B7F
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B7F#FFFFFF#000000##FFFFFF
##1D2B7F1.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2b7f;
/* rgb */ color: rgb(29, 43, 127);
/* oklch */ color: oklch(33.8% 0.142 269.6);
Tailwind
colors: {
  custom: {
    50: '#6964a5',
    500: '#1d2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b7f;
$custom-light: #6964a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b7f",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 231.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.14179,
    "h": 269.6
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#1D2B7F
secondary
#B2A345
accent
#CE42E6
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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