#1D2285#1D2285

#1D2285 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.161 H 271.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1D2285
RGBrgb(29, 34, 133)
HSLhsl(237, 64%, 32%)
HSVhsv(237, 78%, 52%)
CMYKcmyk(78.2%, 74.4%, 0%, 47.8%)
CIE-LABlab(20.43, 34.12, -55.43)
CIE-LCHlch(20.43, 65.09, 301.61°)
OKLaboklab(32.83% 0.0036 -0.1605)
OKLCHoklch(32.83% 0.161 271.3)
XYZxyz(5.3109, 3.0981, 22.5039)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2285 #85801D
analogous
#1D5685 #1D2285 #4C1D85
triadic
#1D2285 #851D22 #22851D
tetradic
#1D2285 #851D56 #85801D #1D854C
square
#1D2285 #851D56 #85801D #1D854C
split-complementary
#1D2285 #854C1D #56851D
monochromatic
#070821 #121553 #1D2285 #282FB7 #464DD7

Accessibility & contrast

On white

12.96
#1D2285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1D2285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2285
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2285#FFFFFF#000000##FFFFFF
##1D22851.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002C83
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1d2285;
/* rgb */ color: rgb(29, 34, 133);
/* oklch */ color: oklch(32.8% 0.161 271.3);
Tailwind
colors: {
  custom: {
    50: '#6c5eaa',
    500: '#1d2285',
    950: '#000000',
  },
}
SCSS
$custom: #1d2285;
$custom-light: #6c5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2285",
  "rgb": {
    "r": 29,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 237.115,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.16051,
    "h": 271.3
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2285

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

Preview Lab → · Contrast checker → · Palette generator →

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