#1D2B78#1D2B78

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

Color values

HEX#1D2B78
RGBrgb(29, 43, 120)
HSLhsl(231, 61%, 29%)
HSVhsv(231, 76%, 47%)
CMYKcmyk(75.8%, 64.2%, 0%, 52.9%)
CIE-LABlab(21.37, 23.20, -45.65)
CIE-LCHlch(21.37, 51.21, 296.94°)
OKLaboklab(33.13% -0.0007 -0.1319)
OKLCHoklch(33.13% 0.132 269.7)
XYZxyz(4.7596, 3.3445, 18.1604)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B78 #786A1D
analogous
#1D5978 #1D2B78 #3D1D78
triadic
#1D2B78 #781D2B #2B781D
tetradic
#1D2B78 #781D59 #786A1D #1D783D
square
#1D2B78 #781D59 #786A1D #1D783D
split-complementary
#1D2B78 #783D1D #59781D
monochromatic
#060919 #111947 #1D2B78 #293DA9 #3F55D1

Accessibility & contrast

On white

12.58
#1D2B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B78
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B78#FFFFFF#000000##FFFFFF
##1D2B781.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387B
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2b78;
/* rgb */ color: rgb(29, 43, 120);
/* oklch */ color: oklch(33.1% 0.132 269.7);
Tailwind
colors: {
  custom: {
    50: '#6864a0',
    500: '#1d2b78',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b78;
$custom-light: #6864a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b78",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 230.769,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33126,
    "c": 0.13186,
    "h": 269.7
  },
  "luminance": 0.03345
}

Semantic roles & 50–950 ramp

primary
#1D2B78
secondary
#AC9C45
accent
#CB44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1D2B78

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

Preview Lab → · Contrast checker → · Palette generator →

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