#1D2E82#1D2E82

#1D2E82 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.142 H 268.7°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#1D2E82
RGBrgb(29, 46, 130)
HSLhsl(230, 64%, 31%)
HSVhsv(230, 78%, 51%)
CMYKcmyk(77.7%, 64.6%, 0%, 49%)
CIE-LABlab(23.09, 25.05, -49.18)
CIE-LCHlch(23.09, 55.19, 296.99°)
OKLaboklab(34.67% -0.0031 -0.1422)
OKLCHoklch(34.67% 0.142 268.7)
XYZxyz(5.5116, 3.8263, 21.5628)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E82 #82711D
analogous
#1D6082 #1D2E82 #3E1D82
triadic
#1D2E82 #821D2E #2E821D
tetradic
#1D2E82 #821D60 #82711D #1D823E
square
#1D2E82 #821D60 #82711D #1D823E
split-complementary
#1D2E82 #823E1D #60821D
monochromatic
#070B1E #121C50 #1D2E82 #2840B4 #445DD5

Accessibility & contrast

On white

11.90
#1D2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E82
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E82#FFFFFF#000000##FFFFFF
##1D2E821.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d2e82;
/* rgb */ color: rgb(29, 46, 130);
/* oklch */ color: oklch(34.7% 0.142 268.7);
Tailwind
colors: {
  custom: {
    50: '#6a66a7',
    500: '#1d2e82',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e82;
$custom-light: #6a66a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e82",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 229.901,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34674,
    "c": 0.1422,
    "h": 268.7
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#1D2E82
secondary
#B5A246
accent
#CB41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1D2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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