#1D2977#1D2977

#1D2977 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.133 H 270.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2977
RGBrgb(29, 41, 119)
HSLhsl(232, 61%, 29%)
HSVhsv(232, 76%, 47%)
CMYKcmyk(75.6%, 65.5%, 0%, 53.3%)
CIE-LABlab(20.75, 24.20, -46.04)
CIE-LCHlch(20.75, 52.02, 297.73°)
OKLaboklab(32.63% 0.0008 -0.133)
OKLCHoklch(32.63% 0.133 270.3)
XYZxyz(4.6283, 3.1785, 17.8188)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2977 #776B1D
analogous
#1D5677 #1D2977 #3E1D77
triadic
#1D2977 #771D29 #29771D
tetradic
#1D2977 #771D56 #776B1D #1D773E
square
#1D2977 #771D56 #776B1D #1D773E
split-complementary
#1D2977 #773E1D #56771D
monochromatic
#060819 #111846 #1D2977 #293AA8 #3E52D0

Accessibility & contrast

On white

12.84
#1D2977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1D2977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2977
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2977#FFFFFF#000000##FFFFFF
##1D29771.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367A
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1d2977;
/* rgb */ color: rgb(29, 41, 119);
/* oklch */ color: oklch(32.6% 0.133 270.3);
Tailwind
colors: {
  custom: {
    50: '#68629f',
    500: '#1d2977',
    950: '#000000',
  },
}
SCSS
$custom: #1d2977;
$custom-light: #68629f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2977",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 119
  },
  "hsl": {
    "h": 232,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.13302,
    "h": 270.3
  },
  "luminance": 0.03179
}

Semantic roles & 50–950 ramp

primary
#1D2977
secondary
#AB9D45
accent
#CF44E4
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1D2977

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

Preview Lab → · Contrast checker → · Palette generator →

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