#1D2C4E#1D2C4E

#1D2C4E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 29.9% C 0.065 H 264.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#1D2C4E
RGBrgb(29, 44, 78)
HSLhsl(222, 46%, 21%)
HSVhsv(222, 63%, 31%)
CMYKcmyk(62.8%, 43.6%, 0%, 69.4%)
CIE-LABlab(18.42, 5.73, -22.87)
CIE-LCHlch(18.42, 23.58, 284.07°)
OKLaboklab(29.86% -0.0059 -0.0649)
OKLCHoklch(29.86% 0.065 264.8)
XYZxyz(2.7821, 2.6124, 7.5639)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C4E #4E3F1D
analogous
#1D444E #1D2C4E #261D4E
triadic
#1D2C4E #4E1D2C #2C4E1D
tetradic
#1D2C4E #4E1D44 #4E3F1D #1D4E26
square
#1D2C4E #4E1D44 #4E3F1D #1D4E26
split-complementary
#1D2C4E #4E261D #444E1D
monochromatic
#080D16 #0C1321 #1D2C4E #2E457B #3E5EA7

Accessibility & contrast

On white

13.79
#1D2C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1D2C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C4E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C4E#FFFFFF#000000##FFFFFF
##1D2C4E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#172B4D
Tritanopia (blue-blind)
#003439
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1d2c4e;
/* rgb */ color: rgb(29, 44, 78);
/* oklch */ color: oklch(29.9% 0.065 264.8);
Tailwind
colors: {
  custom: {
    50: '#5e6480',
    500: '#1d2c4e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c4e;
$custom-light: #5e6480;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c4e",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 221.633,
    "s": 45.794,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29864,
    "c": 0.06517,
    "h": 264.8
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#1D2C4E
secondary
#837044
accent
#AD52D5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1D2C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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