#1D2284#1D2284

#1D2284 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.7% C 0.159 H 271.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#1D2284
RGBrgb(29, 34, 132)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 52%)
CMYKcmyk(78%, 74.2%, 0%, 48.2%)
CIE-LABlab(20.32, 33.75, -54.98)
CIE-LCHlch(20.32, 64.52, 301.55°)
OKLaboklab(32.72% 0.0038 -0.1592)
OKLCHoklch(32.72% 0.159 271.4)
XYZxyz(5.2422, 3.0706, 22.1417)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2284 #847F1D
analogous
#1D5684 #1D2284 #4C1D84
triadic
#1D2284 #841D22 #22841D
tetradic
#1D2284 #841D56 #847F1D #1D844C
square
#1D2284 #841D56 #847F1D #1D844C
split-complementary
#1D2284 #844C1D #56841D
monochromatic
#070820 #121552 #1D2284 #282FB6 #454CD6

Accessibility & contrast

On white

13.01
#1D2284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1D2284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2284
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2284#FFFFFF#000000##FFFFFF
##1D22841.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003687
Deuteranopia (green-blind)
#002C82
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2284;
/* rgb */ color: rgb(29, 34, 132);
/* oklch */ color: oklch(32.7% 0.159 271.4);
Tailwind
colors: {
  custom: {
    50: '#6c5ea9',
    500: '#1d2284',
    950: '#000000',
  },
}
SCSS
$custom: #1d2284;
$custom-light: #6c5ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2284",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 237.087,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32724,
    "c": 0.15921,
    "h": 271.4
  },
  "luminance": 0.03071
}

Semantic roles & 50–950 ramp

primary
#1D2284
secondary
#B7B246
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #1D2284

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

Preview Lab → · Contrast checker → · Palette generator →

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