#1D2B7D#1D2B7D

#1D2B7D is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.139 H 269.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#1D2B7D
RGBrgb(29, 43, 125)
HSLhsl(231, 62%, 30%)
HSVhsv(231, 77%, 49%)
CMYKcmyk(76.8%, 65.6%, 0%, 51%)
CIE-LABlab(21.83, 25.16, -48.08)
CIE-LCHlch(21.83, 54.27, 297.62°)
OKLaboklab(33.61% -0.0009 -0.139)
OKLCHoklch(33.61% 0.139 269.6)
XYZxyz(5.0710, 3.4691, 19.8004)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B7D #7D6F1D
analogous
#1D5B7D #1D2B7D #3F1D7D
triadic
#1D2B7D #7D1D2B #2B7D1D
tetradic
#1D2B7D #7D1D5B #7D6F1D #1D7D3F
square
#1D2B7D #7D1D5B #7D6F1D #1D7D3F
split-complementary
#1D2B7D #7D3F1D #5B7D1D
monochromatic
#06091A #111A4B #1D2B7D #293CAF #4157D3

Accessibility & contrast

On white

12.40
#1D2B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1D2B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B7D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B7D#FFFFFF#000000##FFFFFF
##1D2B7D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003980
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2b7d;
/* rgb */ color: rgb(29, 43, 125);
/* oklch */ color: oklch(33.6% 0.139 269.6);
Tailwind
colors: {
  custom: {
    50: '#6964a3',
    500: '#1d2b7d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b7d;
$custom-light: #6964a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b7d",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 231.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33606,
    "c": 0.13898,
    "h": 269.6
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#1D2B7D
secondary
#B1A145
accent
#CE42E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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