#1D2B70#1D2B70

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

Color values

HEX#1D2B70
RGBrgb(29, 43, 112)
HSLhsl(230, 59%, 28%)
HSVhsv(230, 74%, 44%)
CMYKcmyk(74.1%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.67, 20.03, -41.68)
CIE-LCHlch(20.67, 46.24, 295.67°)
OKLaboklab(32.38% -0.0007 -0.1202)
OKLCHoklch(32.38% 0.12 269.7)
XYZxyz(4.2942, 3.1584, 15.7094)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B70 #70621D
analogous
#1D5470 #1D2B70 #391D70
triadic
#1D2B70 #701D2B #2B701D
tetradic
#1D2B70 #701D54 #70621D #1D7039
square
#1D2B70 #701D54 #70621D #1D7039
split-complementary
#1D2B70 #70391D #54701D
monochromatic
#060918 #10183F #1D2B70 #2A3EA1 #3B54CC

Accessibility & contrast

On white

12.87
#1D2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#1D2B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B70
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B70#FFFFFF#000000##FFFFFF
##1D2B701.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2b70;
/* rgb */ color: rgb(29, 43, 112);
/* oklch */ color: oklch(32.4% 0.120 269.7);
Tailwind
colors: {
  custom: {
    50: '#66649a',
    500: '#1d2b70',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b70;
$custom-light: #66649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b70",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 229.88,
    "s": 58.865,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32381,
    "c": 0.12019,
    "h": 269.7
  },
  "luminance": 0.03159
}

Semantic roles & 50–950 ramp

primary
#1D2B70
secondary
#A49444
accent
#C846E2
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1D2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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