#1D2E7D#1D2E7D

#1D2E7D is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.135 H 268.7°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1D2E7D
RGBrgb(29, 46, 125)
HSLhsl(229, 62%, 30%)
HSVhsv(229, 77%, 49%)
CMYKcmyk(76.8%, 63.2%, 0%, 51%)
CIE-LABlab(22.64, 23.08, -46.77)
CIE-LCHlch(22.64, 52.15, 296.27°)
OKLaboklab(34.2% -0.003 -0.1351)
OKLCHoklch(34.2% 0.135 268.7)
XYZxyz(5.1841, 3.6953, 19.8381)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E7D #7D6C1D
analogous
#1D5E7D #1D2E7D #3C1D7D
triadic
#1D2E7D #7D1D2E #2E7D1D
tetradic
#1D2E7D #7D1D5E #7D6C1D #1D7D3C
square
#1D2E7D #7D1D5E #7D6C1D #1D7D3C
split-complementary
#1D2E7D #7D3C1D #5E7D1D
monochromatic
#06091A #111C4B #1D2E7D #2940AF #415BD3

Accessibility & contrast

On white

12.07
#1D2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E7D
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E7D#FFFFFF#000000##FFFFFF
##1D2E7D1.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2e7d;
/* rgb */ color: rgb(29, 46, 125);
/* oklch */ color: oklch(34.2% 0.135 268.7);
Tailwind
colors: {
  custom: {
    50: '#6966a3',
    500: '#1d2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e7d;
$custom-light: #6966a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e7d",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 229.375,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.342,
    "c": 0.13511,
    "h": 268.7
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#1D2E7D
secondary
#B19E45
accent
#C942E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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