#1D2677#1D2677

#1D2677 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.137 H 271.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#1D2677
RGBrgb(29, 38, 119)
HSLhsl(234, 61%, 29%)
HSVhsv(234, 76%, 47%)
CMYKcmyk(75.6%, 68.1%, 0%, 53.3%)
CIE-LABlab(19.96, 26.27, -47.33)
CIE-LCHlch(19.96, 54.13, 299.03°)
OKLaboklab(32.06% 0.0029 -0.1368)
OKLCHoklch(32.06% 0.137 271.2)
XYZxyz(4.5285, 2.9789, 17.7855)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2677 #776E1D
analogous
#1D5377 #1D2677 #411D77
triadic
#1D2677 #771D26 #26771D
tetradic
#1D2677 #771D53 #776E1D #1D7741
square
#1D2677 #771D53 #776E1D #1D7741
split-complementary
#1D2677 #77411D #53771D
monochromatic
#060819 #111646 #1D2677 #2936A8 #3E4DD0

Accessibility & contrast

On white

13.16
#1D2677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1D2677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2677
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2677#FFFFFF#000000##FFFFFF
##1D26771.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002C75
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1d2677;
/* rgb */ color: rgb(29, 38, 119);
/* oklch */ color: oklch(32.1% 0.137 271.2);
Tailwind
colors: {
  custom: {
    50: '#68609f',
    500: '#1d2677',
    950: '#000000',
  },
}
SCSS
$custom: #1d2677;
$custom-light: #68609f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2677",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 234,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32057,
    "c": 0.13684,
    "h": 271.2
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#1D2677
secondary
#ABA145
accent
#D444E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050F
muted
#7A797E

Preview Lab

Preview with #1D2677

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

Preview Lab → · Contrast checker → · Palette generator →

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