#1D2377#1D2377

#1D2377 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.141 H 272.0°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#1D2377
RGBrgb(29, 35, 119)
HSLhsl(236, 61%, 29%)
HSVhsv(236, 76%, 47%)
CMYKcmyk(75.6%, 70.6%, 0%, 53.3%)
CIE-LABlab(19.20, 28.29, -48.57)
CIE-LCHlch(19.20, 56.21, 300.22°)
OKLaboklab(31.51% 0.005 -0.1405)
OKLCHoklch(31.51% 0.141 272)
XYZxyz(4.4364, 2.7947, 17.7548)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2377 #77711D
analogous
#1D5077 #1D2377 #441D77
triadic
#1D2377 #771D23 #23771D
tetradic
#1D2377 #771D50 #77711D #1D7744
square
#1D2377 #771D50 #77711D #1D7744
split-complementary
#1D2377 #77441D #50771D
monochromatic
#060719 #111546 #1D2377 #2931A8 #3E48D0

Accessibility & contrast

On white

13.47
#1D2377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1D2377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2377
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2377#FFFFFF#000000##FFFFFF
##1D23771.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1d2377;
/* rgb */ color: rgb(29, 35, 119);
/* oklch */ color: oklch(31.5% 0.141 272.0);
Tailwind
colors: {
  custom: {
    50: '#685e9f',
    500: '#1d2377',
    950: '#000000',
  },
}
SCSS
$custom: #1d2377;
$custom-light: #685e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2377",
  "rgb": {
    "r": 29,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 236,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31506,
    "c": 0.14055,
    "h": 272
  },
  "luminance": 0.02795
}

Semantic roles & 50–950 ramp

primary
#1D2377
secondary
#ABA445
accent
#D944E4
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1D2377

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

Preview Lab → · Contrast checker → · Palette generator →

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