#1D2D4E#1D2D4E

#1D2D4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.064 H 263.5°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#1D2D4E
RGBrgb(29, 45, 78)
HSLhsl(220, 46%, 21%)
HSVhsv(220, 63%, 31%)
CMYKcmyk(62.8%, 42.3%, 0%, 69.4%)
CIE-LABlab(18.75, 5.01, -22.35)
CIE-LCHlch(18.75, 22.91, 282.64°)
OKLaboklab(30.12% -0.0072 -0.0634)
OKLCHoklch(30.12% 0.064 263.5)
XYZxyz(2.8198, 2.6878, 7.5765)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D4E #4E3E1D
analogous
#1D454E #1D2D4E #251D4E
triadic
#1D2D4E #4E1D2D #2D4E1D
tetradic
#1D2D4E #4E1D45 #4E3E1D #1D4E25
square
#1D2D4E #4E1D45 #4E3E1D #1D4E25
split-complementary
#1D2D4E #4E251D #454E1D
monochromatic
#080D16 #0C1321 #1D2D4E #2E477B #3E60A7

Accessibility & contrast

On white

13.66
#1D2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1D2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D4E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D4E#FFFFFF#000000##FFFFFF
##1D2D4E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#192C4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1d2d4e;
/* rgb */ color: rgb(29, 45, 78);
/* oklch */ color: oklch(30.1% 0.064 263.5);
Tailwind
colors: {
  custom: {
    50: '#5e6580',
    500: '#1d2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d4e;
$custom-light: #5e6580;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d4e",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 220.408,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30117,
    "c": 0.06378,
    "h": 263.5
  },
  "luminance": 0.02688
}

Semantic roles & 50–950 ramp

primary
#1D2D4E
secondary
#836E44
accent
#AB52D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1D2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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