#1D2F82#1D2F82

#1D2F82 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.141 H 268.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#1D2F82
RGBrgb(29, 47, 130)
HSLhsl(229, 64%, 31%)
HSVhsv(229, 78%, 51%)
CMYKcmyk(77.7%, 63.8%, 0%, 49%)
CIE-LABlab(23.36, 24.35, -48.75)
CIE-LCHlch(23.36, 54.49, 296.55°)
OKLaboklab(34.87% -0.0038 -0.1409)
OKLCHoklch(34.87% 0.141 268.4)
XYZxyz(5.5511, 3.9053, 21.5760)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2F82 #82701D
analogous
#1D6182 #1D2F82 #3D1D82
triadic
#1D2F82 #821D2F #2F821D
tetradic
#1D2F82 #821D61 #82701D #1D823D
square
#1D2F82 #821D61 #82701D #1D823D
split-complementary
#1D2F82 #823D1D #61821D
monochromatic
#070B1E #121D50 #1D2F82 #2841B4 #445ED5

Accessibility & contrast

On white

11.79
#1D2F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2F82
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2F82#FFFFFF#000000##FFFFFF
##1D2F821.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003380
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2f82;
/* rgb */ color: rgb(29, 47, 130);
/* oklch */ color: oklch(34.9% 0.141 268.4);
Tailwind
colors: {
  custom: {
    50: '#6a67a7',
    500: '#1d2f82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2f82;
$custom-light: #6a67a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2f82",
  "rgb": {
    "r": 29,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 229.307,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34872,
    "c": 0.14093,
    "h": 268.4
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#1D2F82
secondary
#B5A146
accent
#C941E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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