#1D2C85#1D2C85

#1D2C85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.149 H 269.3°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1D2C85
RGBrgb(29, 44, 133)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 52%)
CMYKcmyk(78.2%, 66.9%, 0%, 47.8%)
CIE-LABlab(22.85, 27.58, -51.46)
CIE-LCHlch(22.85, 58.39, 298.19°)
OKLaboklab(34.58% -0.0019 -0.1489)
OKLCHoklch(34.58% 0.149 269.3)
XYZxyz(5.6396, 3.7554, 22.6134)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C85 #85761D
analogous
#1D6085 #1D2C85 #421D85
triadic
#1D2C85 #851D2C #2C851D
tetradic
#1D2C85 #851D60 #85761D #1D8542
square
#1D2C85 #851D60 #85761D #1D8542
split-complementary
#1D2C85 #85421D #60851D
monochromatic
#070B21 #121B53 #1D2C85 #283DB7 #465BD7

Accessibility & contrast

On white

11.99
#1D2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C85
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C85#FFFFFF#000000##FFFFFF
##1D2C851.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2c85;
/* rgb */ color: rgb(29, 44, 133);
/* oklch */ color: oklch(34.6% 0.149 269.3);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1d2c85',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c85;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c85",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 231.346,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34582,
    "c": 0.14888,
    "h": 269.3
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#1D2C85
secondary
#B8A746
accent
#CF41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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