#1D1977#1D1977

#1D1977 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.9% C 0.152 H 274.0°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#1D1977
RGBrgb(29, 25, 119)
HSLhsl(243, 65%, 28%)
HSVhsv(243, 79%, 47%)
CMYKcmyk(75.6%, 79%, 0%, 53.3%)
CIE-LABlab(16.93, 34.58, -52.31)
CIE-LCHlch(16.93, 62.71, 303.47°)
OKLaboklab(29.88% 0.0107 -0.1513)
OKLCHoklch(29.88% 0.152 274)
XYZxyz(4.1830, 2.2880, 17.6704)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1977 #737719
analogous
#194477 #1D1977 #4C1977
triadic
#1D1977 #771D19 #19771D
tetradic
#1D1977 #771944 #737719 #19774C
square
#1D1977 #771944 #737719 #19774C
split-complementary
#1D1977 #774C19 #447719
monochromatic
#060519 #110E44 #1D1977 #2924AA #3C36D5

Accessibility & contrast

On white

14.41
#1D1977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1D1977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1977
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1977#FFFFFF#000000##FFFFFF
##1D19771.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1d1977;
/* rgb */ color: rgb(29, 25, 119);
/* oklch */ color: oklch(29.9% 0.152 274.0);
Tailwind
colors: {
  custom: {
    50: '#69579f',
    500: '#1d1977',
    950: '#000000',
  },
}
SCSS
$custom: #1d1977;
$custom-light: #69579f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1977",
  "rgb": {
    "r": 29,
    "g": 25,
    "b": 119
  },
  "hsl": {
    "h": 242.553,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.29881,
    "c": 0.15171,
    "h": 274
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#1D1977
secondary
#A7AC40
accent
#E840E1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E

Preview Lab

Preview with #1D1977

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

Preview Lab → · Contrast checker → · Palette generator →

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