#1D2B74#1D2B74

#1D2B74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.126 H 269.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#1D2B74
RGBrgb(29, 43, 116)
HSLhsl(230, 60%, 28%)
HSVhsv(230, 75%, 45%)
CMYKcmyk(75%, 62.9%, 0%, 54.5%)
CIE-LABlab(21.02, 21.62, -43.68)
CIE-LCHlch(21.02, 48.74, 296.33°)
OKLaboklab(32.75% -0.0007 -0.1261)
OKLCHoklch(32.75% 0.126 269.7)
XYZxyz(4.5219, 3.2495, 16.9085)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B74 #74661D
analogous
#1D5674 #1D2B74 #3A1D74
triadic
#1D2B74 #741D2B #2B741D
tetradic
#1D2B74 #741D56 #74661D #1D743A
square
#1D2B74 #741D56 #74661D #1D743A
split-complementary
#1D2B74 #743A1D #56741D
monochromatic
#060918 #111943 #1D2B74 #293DA5 #3D54CE

Accessibility & contrast

On white

12.73
#1D2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1D2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B74
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B74#FFFFFF#000000##FFFFFF
##1D2B741.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2b74;
/* rgb */ color: rgb(29, 43, 116);
/* oklch */ color: oklch(32.8% 0.126 269.7);
Tailwind
colors: {
  custom: {
    50: '#67649d',
    500: '#1d2b74',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b74;
$custom-light: #67649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b74",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 230.345,
    "s": 60,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3275,
    "c": 0.12606,
    "h": 269.7
  },
  "luminance": 0.0325
}

Semantic roles & 50–950 ramp

primary
#1D2B74
secondary
#A89845
accent
#CA45E3
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #1D2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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