#1D2D78#1D2D78

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

Color values

HEX#1D2D78
RGBrgb(29, 45, 120)
HSLhsl(229, 61%, 29%)
HSVhsv(229, 76%, 47%)
CMYKcmyk(75.8%, 62.5%, 0%, 52.9%)
CIE-LABlab(21.92, 21.80, -44.76)
CIE-LCHlch(21.92, 49.79, 295.97°)
OKLaboklab(33.53% -0.0023 -0.1292)
OKLCHoklch(33.53% 0.129 269)
XYZxyz(4.8341, 3.4935, 18.1852)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D78 #78681D
analogous
#1D5B78 #1D2D78 #3B1D78
triadic
#1D2D78 #781D2D #2D781D
tetradic
#1D2D78 #781D5B #78681D #1D783B
square
#1D2D78 #781D5B #78681D #1D783B
split-complementary
#1D2D78 #783B1D #5B781D
monochromatic
#060919 #111B47 #1D2D78 #293FA9 #3F58D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2D78#FFFFFF#000000##FFFFFF
##1D2D781.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)
#00397A
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2d78;
/* rgb */ color: rgb(29, 45, 120);
/* oklch */ color: oklch(33.5% 0.129 269.0);
Tailwind
colors: {
  custom: {
    50: '#6765a0',
    500: '#1d2d78',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d78;
$custom-light: #6765a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d78",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 120
  },
  "hsl": {
    "h": 229.451,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33531,
    "c": 0.12923,
    "h": 269
  },
  "luminance": 0.03494
}

Semantic roles & 50–950 ramp

primary
#1D2D78
secondary
#AC9A45
accent
#C844E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1D2D78

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

Preview Lab → · Contrast checker → · Palette generator →

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