#1D2E7F#1D2E7F

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

Color values

HEX#1D2E7F
RGBrgb(29, 46, 127)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 77%, 50%)
CMYKcmyk(77.2%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.82, 23.87, -47.74)
CIE-LCHlch(22.82, 53.37, 296.56°)
OKLaboklab(34.39% -0.0031 -0.1379)
OKLCHoklch(34.39% 0.138 268.7)
XYZxyz(5.3131, 3.7469, 20.5178)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E7F #7F6E1D
analogous
#1D5F7F #1D2E7F #3D1D7F
triadic
#1D2E7F #7F1D2E #2E7F1D
tetradic
#1D2E7F #7F1D5F #7F6E1D #1D7F3D
square
#1D2E7F #7F1D5F #7F6E1D #1D7F3D
split-complementary
#1D2E7F #7F3D1D #5F7F1D
monochromatic
#060A1B #121C4D #1D2E7F #2840B1 #425CD4

Accessibility & contrast

On white

12.00
#1D2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E7F
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E7F#FFFFFF#000000##FFFFFF
##1D2E7F1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2e7f;
/* rgb */ color: rgb(29, 46, 127);
/* oklch */ color: oklch(34.4% 0.138 268.7);
Tailwind
colors: {
  custom: {
    50: '#6966a5',
    500: '#1d2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e7f;
$custom-light: #6966a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e7f",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 229.592,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34389,
    "c": 0.13796,
    "h": 268.7
  },
  "luminance": 0.03748
}

Semantic roles & 50–950 ramp

primary
#1D2E7F
secondary
#B29F45
accent
#C942E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1D2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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