#1D2B71#1D2B71

#1D2B71 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.122 H 269.7°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1D2B71
RGBrgb(29, 43, 113)
HSLhsl(230, 59%, 28%)
HSVhsv(230, 74%, 44%)
CMYKcmyk(74.3%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.75, 20.43, -42.18)
CIE-LCHlch(20.75, 46.87, 295.84°)
OKLaboklab(32.47% -0.0007 -0.1217)
OKLCHoklch(32.47% 0.122 269.7)
XYZxyz(4.3502, 3.1808, 16.0043)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B71 #71631D
analogous
#1D5571 #1D2B71 #391D71
triadic
#1D2B71 #711D2B #2B711D
tetradic
#1D2B71 #711D55 #71631D #1D7139
square
#1D2B71 #711D55 #71631D #1D7139
split-complementary
#1D2B71 #71391D #55711D
monochromatic
#060918 #111840 #1D2B71 #293EA2 #3C54CD

Accessibility & contrast

On white

12.83
#1D2B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B71
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B71#FFFFFF#000000##FFFFFF
##1D2B711.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003673
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2b71;
/* rgb */ color: rgb(29, 43, 113);
/* oklch */ color: oklch(32.5% 0.122 269.7);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1d2b71',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b71;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b71",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 230,
    "s": 59.155,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32473,
    "c": 0.12166,
    "h": 269.7
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#1D2B71
secondary
#A59544
accent
#C845E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2B71

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

Preview Lab → · Contrast checker → · Palette generator →

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