#1D2B7E#1D2B7E

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

Color values

HEX#1D2B7E
RGBrgb(29, 43, 126)
HSLhsl(231, 63%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(77%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.93, 25.55, -48.56)
CIE-LCHlch(21.93, 54.87, 297.75°)
OKLaboklab(33.7% -0.0009 -0.1404)
OKLCHoklch(33.7% 0.14 269.6)
XYZxyz(5.1352, 3.4948, 20.1385)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B7E #7E701D
analogous
#1D5B7E #1D2B7E #3F1D7E
triadic
#1D2B7E #7E1D2B #2B7E1D
tetradic
#1D2B7E #7E1D5B #7E701D #1D7E3F
square
#1D2B7E #7E1D5B #7E701D #1D7E3F
split-complementary
#1D2B7E #7E3F1D #5B7E1D
monochromatic
#06091B #121A4C #1D2B7E #283CB0 #4257D3

Accessibility & contrast

On white

12.36
#1D2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2B7E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B7E#FFFFFF#000000##FFFFFF
##1D2B7E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2b7e;
/* rgb */ color: rgb(29, 43, 126);
/* oklch */ color: oklch(33.7% 0.140 269.6);
Tailwind
colors: {
  custom: {
    50: '#6964a4',
    500: '#1d2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b7e;
$custom-light: #6964a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b7e",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 231.34,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33703,
    "c": 0.14038,
    "h": 269.6
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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