#1D2D7E#1D2D7E

#1D2D7E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.138 H 269.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1D2D7E
RGBrgb(29, 45, 126)
HSLhsl(230, 63%, 30%)
HSVhsv(230, 77%, 49%)
CMYKcmyk(77%, 64.3%, 0%, 50.6%)
CIE-LABlab(22.46, 24.17, -47.69)
CIE-LCHlch(22.46, 53.47, 296.87°)
OKLaboklab(34.1% -0.0023 -0.1378)
OKLCHoklch(34.1% 0.138 269)
XYZxyz(5.2097, 3.6438, 20.1634)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D7E #7E6E1D
analogous
#1D5D7E #1D2D7E #3D1D7E
triadic
#1D2D7E #7E1D2D #2D7E1D
tetradic
#1D2D7E #7E1D5D #7E6E1D #1D7E3D
square
#1D2D7E #7E1D5D #7E6E1D #1D7E3D
split-complementary
#1D2D7E #7E3D1D #5D7E1D
monochromatic
#06091B #121B4C #1D2D7E #283FB0 #425AD3

Accessibility & contrast

On white

12.15
#1D2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1D2D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D7E
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D7E#FFFFFF#000000##FFFFFF
##1D2D7E1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00317C
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2d7e;
/* rgb */ color: rgb(29, 45, 126);
/* oklch */ color: oklch(34.1% 0.138 269.0);
Tailwind
colors: {
  custom: {
    50: '#6965a4',
    500: '#1d2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d7e;
$custom-light: #6965a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d7e",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 230.103,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34095,
    "c": 0.13784,
    "h": 269
  },
  "luminance": 0.03644
}

Semantic roles & 50–950 ramp

primary
#1D2D7E
secondary
#B1A045
accent
#CB42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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