#1D2783#1D2783

#1D2783 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.152 H 270.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#1D2783
RGBrgb(29, 39, 131)
HSLhsl(234, 64%, 31%)
HSVhsv(234, 78%, 51%)
CMYKcmyk(77.9%, 70.2%, 0%, 48.6%)
CIE-LABlab(21.40, 30.16, -52.59)
CIE-LCHlch(21.40, 60.62, 299.84°)
OKLaboklab(33.46% 0.0012 -0.1522)
OKLCHoklch(33.46% 0.152 270.5)
XYZxyz(5.3276, 3.3504, 21.8342)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2783 #83791D
analogous
#1D5A83 #1D2783 #461D83
triadic
#1D2783 #831D27 #27831D
tetradic
#1D2783 #831D5A #83791D #1D8346
square
#1D2783 #831D5A #83791D #1D8346
split-complementary
#1D2783 #83461D #5A831D
monochromatic
#07091F #121851 #1D2783 #2836B5 #4553D6

Accessibility & contrast

On white

12.57
#1D2783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1D2783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2783
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2783#FFFFFF#000000##FFFFFF
##1D27831.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1d2783;
/* rgb */ color: rgb(29, 39, 131);
/* oklch */ color: oklch(33.5% 0.152 270.5);
Tailwind
colors: {
  custom: {
    50: '#6b61a8',
    500: '#1d2783',
    950: '#000000',
  },
}
SCSS
$custom: #1d2783;
$custom-light: #6b61a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2783",
  "rgb": {
    "r": 29,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 234.118,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33464,
    "c": 0.15218,
    "h": 270.5
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#1D2783
secondary
#B6AB46
accent
#D741E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2783

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

Preview Lab → · Contrast checker → · Palette generator →

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