#1D2883#1D2883

#1D2883 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.151 H 270.2°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#1D2883
RGBrgb(29, 40, 131)
HSLhsl(234, 64%, 31%)
HSVhsv(234, 78%, 51%)
CMYKcmyk(77.9%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.64, 29.50, -52.18)
CIE-LCHlch(21.64, 59.95, 299.48°)
OKLaboklab(33.64% 0.0006 -0.151)
OKLCHoklch(33.64% 0.151 270.2)
XYZxyz(5.3608, 3.4169, 21.8453)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2883 #83781D
analogous
#1D5B83 #1D2883 #451D83
triadic
#1D2883 #831D28 #28831D
tetradic
#1D2883 #831D5B #83781D #1D8345
square
#1D2883 #831D5B #83781D #1D8345
split-complementary
#1D2883 #83451D #5B831D
monochromatic
#07091F #121951 #1D2883 #2837B5 #4554D6

Accessibility & contrast

On white

12.47
#1D2883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1D2883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2883
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2883#FFFFFF#000000##FFFFFF
##1D28831.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1d2883;
/* rgb */ color: rgb(29, 40, 131);
/* oklch */ color: oklch(33.6% 0.151 270.2);
Tailwind
colors: {
  custom: {
    50: '#6b62a8',
    500: '#1d2883',
    950: '#000000',
  },
}
SCSS
$custom: #1d2883;
$custom-light: #6b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2883",
  "rgb": {
    "r": 29,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 233.529,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33643,
    "c": 0.151,
    "h": 270.2
  },
  "luminance": 0.03417
}

Semantic roles & 50–950 ramp

primary
#1D2883
secondary
#B6AA46
accent
#D541E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2883

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

Preview Lab → · Contrast checker → · Palette generator →

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