#1D2D76#1D2D76

#1D2D76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.126 H 269.0°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#1D2D76
RGBrgb(29, 45, 118)
HSLhsl(229, 61%, 29%)
HSVhsv(229, 75%, 46%)
CMYKcmyk(75.4%, 61.9%, 0%, 53.7%)
CIE-LABlab(21.75, 21.00, -43.77)
CIE-LCHlch(21.75, 48.55, 295.64°)
OKLaboklab(33.35% -0.0023 -0.1263)
OKLCHoklch(33.35% 0.126 269)
XYZxyz(4.7140, 3.4455, 17.5526)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D76 #76661D
analogous
#1D5A76 #1D2D76 #3A1D76
triadic
#1D2D76 #761D2D #2D761D
tetradic
#1D2D76 #761D5A #76661D #1D763A
square
#1D2D76 #761D5A #76661D #1D763A
split-complementary
#1D2D76 #763A1D #5A761D
monochromatic
#060919 #111A45 #1D2D76 #2940A7 #3E58D0

Accessibility & contrast

On white

12.43
#1D2D76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2D76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D76
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D76#FFFFFF#000000##FFFFFF
##1D2D761.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2d76;
/* rgb */ color: rgb(29, 45, 118);
/* oklch */ color: oklch(33.3% 0.126 269.0);
Tailwind
colors: {
  custom: {
    50: '#67659e',
    500: '#1d2d76',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d76;
$custom-light: #67659e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d76",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 118
  },
  "hsl": {
    "h": 229.213,
    "s": 60.544,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33347,
    "c": 0.12632,
    "h": 269
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#1D2D76
secondary
#AA9845
accent
#C744E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1D2D76

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

Preview Lab → · Contrast checker → · Palette generator →

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