#1D2B7A#1D2B7A

#1D2B7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.135 H 269.7°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#1D2B7A
RGBrgb(29, 43, 122)
HSLhsl(231, 62%, 30%)
HSVhsv(231, 76%, 48%)
CMYKcmyk(76.2%, 64.8%, 0%, 52.2%)
CIE-LABlab(21.56, 23.99, -46.63)
CIE-LCHlch(21.56, 52.44, 297.22°)
OKLaboklab(33.32% -0.0008 -0.1347)
OKLCHoklch(33.32% 0.135 269.7)
XYZxyz(4.8822, 3.3936, 18.8063)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B7A #7A6C1D
analogous
#1D597A #1D2B7A #3E1D7A
triadic
#1D2B7A #7A1D2B #2B7A1D
tetradic
#1D2B7A #7A1D59 #7A6C1D #1D7A3E
square
#1D2B7A #7A1D59 #7A6C1D #1D7A3E
split-complementary
#1D2B7A #7A3E1D #597A1D
monochromatic
#060919 #111A49 #1D2B7A #293CAB #4056D2

Accessibility & contrast

On white

12.51
#1D2B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B7A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B7A#FFFFFF#000000##FFFFFF
##1D2B7A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2b7a;
/* rgb */ color: rgb(29, 43, 122);
/* oklch */ color: oklch(33.3% 0.135 269.7);
Tailwind
colors: {
  custom: {
    50: '#6864a1',
    500: '#1d2b7a',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b7a;
$custom-light: #6864a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b7a",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 230.968,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33316,
    "c": 0.13472,
    "h": 269.7
  },
  "luminance": 0.03394
}

Semantic roles & 50–950 ramp

primary
#1D2B7A
secondary
#AE9E45
accent
#CC43E5
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1D2B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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