#1D2C77#1D2C77

#1D2C77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.2% C 0.129 H 269.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D2C77
RGBrgb(29, 44, 119)
HSLhsl(230, 61%, 29%)
HSVhsv(230, 76%, 47%)
CMYKcmyk(75.6%, 63%, 0%, 53.3%)
CIE-LABlab(21.56, 22.10, -44.72)
CIE-LCHlch(21.56, 49.88, 296.31°)
OKLaboklab(33.23% -0.0015 -0.1291)
OKLCHoklch(33.23% 0.129 269.3)
XYZxyz(4.7360, 3.3940, 17.8547)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C77 #77681D
analogous
#1D5977 #1D2C77 #3B1D77
triadic
#1D2C77 #771D2C #2C771D
tetradic
#1D2C77 #771D59 #77681D #1D773B
square
#1D2C77 #771D59 #77681D #1D773B
split-complementary
#1D2C77 #773B1D #59771D
monochromatic
#060919 #111A46 #1D2C77 #293EA8 #3E57D0

Accessibility & contrast

On white

12.51
#1D2C77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2C77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C77
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C77#FFFFFF#000000##FFFFFF
##1D2C771.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2c77;
/* rgb */ color: rgb(29, 44, 119);
/* oklch */ color: oklch(33.2% 0.129 269.3);
Tailwind
colors: {
  custom: {
    50: '#67649f',
    500: '#1d2c77',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c77;
$custom-light: #67649f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c77",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 119
  },
  "hsl": {
    "h": 230,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33234,
    "c": 0.1291,
    "h": 269.3
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#1D2C77
secondary
#AB9A45
accent
#C944E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1D2C77

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

Preview Lab → · Contrast checker → · Palette generator →

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