#1D2E7A#1D2E7A

#1D2E7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.131 H 268.7°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#1D2E7A
RGBrgb(29, 46, 122)
HSLhsl(229, 62%, 30%)
HSVhsv(229, 76%, 48%)
CMYKcmyk(76.2%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.37, 21.89, -45.30)
CIE-LCHlch(22.37, 50.31, 295.79°)
OKLaboklab(33.92% -0.003 -0.1308)
OKLCHoklch(33.92% 0.131 268.7)
XYZxyz(4.9953, 3.6198, 18.8440)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E7A #7A691D
analogous
#1D5D7A #1D2E7A #3B1D7A
triadic
#1D2E7A #7A1D2E #2E7A1D
tetradic
#1D2E7A #7A1D5D #7A691D #1D7A3B
square
#1D2E7A #7A1D5D #7A691D #1D7A3B
split-complementary
#1D2E7A #7A3B1D #5D7A1D
monochromatic
#060919 #111B49 #1D2E7A #2941AB #405AD2

Accessibility & contrast

On white

12.18
#1D2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1D2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E7A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E7A#FFFFFF#000000##FFFFFF
##1D2E7A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2e7a;
/* rgb */ color: rgb(29, 46, 122);
/* oklch */ color: oklch(33.9% 0.131 268.7);
Tailwind
colors: {
  custom: {
    50: '#6866a1',
    500: '#1d2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e7a;
$custom-light: #6866a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e7a",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 229.032,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33921,
    "c": 0.13081,
    "h": 268.7
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#1D2E7A
secondary
#AE9B45
accent
#C743E5
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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