#1D2A52#1D2A52

#1D2A52 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.075 H 268.1°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1D2A52
RGBrgb(29, 42, 82)
HSLhsl(225, 48%, 22%)
HSVhsv(225, 65%, 32%)
CMYKcmyk(64.6%, 48.8%, 0%, 67.8%)
CIE-LABlab(18.04, 8.76, -26.18)
CIE-LCHlch(18.04, 27.61, 288.50°)
OKLaboklab(29.65% -0.0025 -0.0746)
OKLCHoklch(29.65% 0.075 268.1)
XYZxyz(2.8571, 2.5261, 8.3180)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A52 #52451D
analogous
#1D4552 #1D2A52 #2B1D52
triadic
#1D2A52 #521D2A #2A521D
tetradic
#1D2A52 #521D45 #52451D #1D522B
square
#1D2A52 #521D45 #52451D #1D522B
split-complementary
#1D2A52 #522B1D #45521D
monochromatic
#080C17 #0D1325 #1D2A52 #2D417F #3D58AC

Accessibility & contrast

On white

13.95
#1D2A52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1D2A52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A52
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A52#FFFFFF#000000##FFFFFF
##1D2A521.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182F54
Deuteranopia (green-blind)
#102A51
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1d2a52;
/* rgb */ color: rgb(29, 42, 82);
/* oklch */ color: oklch(29.7% 0.075 268.1);
Tailwind
colors: {
  custom: {
    50: '#5f6383',
    500: '#1d2a52',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a52;
$custom-light: #5f6383;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a52",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 225.283,
    "s": 47.748,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29654,
    "c": 0.07466,
    "h": 268.1
  },
  "luminance": 0.02526
}

Semantic roles & 50–950 ramp

primary
#1D2A52
secondary
#877744
accent
#B650D7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#05050A
muted
#79797C

Preview Lab

Preview with #1D2A52

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

Preview Lab → · Contrast checker → · Palette generator →

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