#1D2D82#1D2D82

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

Color values

HEX#1D2D82
RGBrgb(29, 45, 130)
HSLhsl(230, 64%, 31%)
HSVhsv(230, 78%, 51%)
CMYKcmyk(77.7%, 65.4%, 0%, 49%)
CIE-LABlab(22.82, 25.73, -49.62)
CIE-LCHlch(22.82, 55.89, 297.41°)
OKLaboklab(34.48% -0.0024 -0.1434)
OKLCHoklch(34.48% 0.143 269)
XYZxyz(5.4730, 3.7491, 21.5500)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D82 #82721D
analogous
#1D5F82 #1D2D82 #3F1D82
triadic
#1D2D82 #821D2D #2D821D
tetradic
#1D2D82 #821D5F #82721D #1D823F
square
#1D2D82 #821D5F #82721D #1D823F
split-complementary
#1D2D82 #823F1D #5F821D
monochromatic
#070A1E #121C50 #1D2D82 #283EB4 #445BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2D82#FFFFFF#000000##FFFFFF
##1D2D821.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)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2d82;
/* rgb */ color: rgb(29, 45, 130);
/* oklch */ color: oklch(34.5% 0.143 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a65a7',
    500: '#1d2d82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d82;
$custom-light: #6a65a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d82",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 230.495,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34479,
    "c": 0.14347,
    "h": 269
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#1D2D82
secondary
#B5A346
accent
#CC41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1D2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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