#1D2D80#1D2D80

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

Color values

HEX#1D2D80
RGBrgb(29, 45, 128)
HSLhsl(230, 63%, 31%)
HSVhsv(230, 77%, 50%)
CMYKcmyk(77.3%, 64.8%, 0%, 49.8%)
CIE-LABlab(22.64, 24.95, -48.66)
CIE-LCHlch(22.64, 54.68, 297.15°)
OKLaboklab(34.29% -0.0024 -0.1406)
OKLCHoklch(34.29% 0.141 269)
XYZxyz(5.3400, 3.6959, 20.8498)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D80 #80701D
analogous
#1D5E80 #1D2D80 #3E1D80
triadic
#1D2D80 #801D2D #2D801D
tetradic
#1D2D80 #801D5E #80701D #1D803E
square
#1D2D80 #801D5E #80701D #1D803E
split-complementary
#1D2D80 #803E1D #5E801D
monochromatic
#060A1C #121B4E #1D2D80 #283FB2 #435AD4

Accessibility & contrast

On white

12.07
#1D2D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D80
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D80#FFFFFF#000000##FFFFFF
##1D2D801.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2d80;
/* rgb */ color: rgb(29, 45, 128);
/* oklch */ color: oklch(34.3% 0.141 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a65a6',
    500: '#1d2d80',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d80;
$custom-light: #6a65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d80",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 230.303,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34286,
    "c": 0.14066,
    "h": 269
  },
  "luminance": 0.03696
}

Semantic roles & 50–950 ramp

primary
#1D2D80
secondary
#B3A245
accent
#CC42E6
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1D2D80

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

Preview Lab → · Contrast checker → · Palette generator →

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