#1D2D85#1D2D85

#1D2D85 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.8% C 0.148 H 269.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#1D2D85
RGBrgb(29, 45, 133)
HSLhsl(231, 64%, 32%)
HSVhsv(231, 78%, 52%)
CMYKcmyk(78.2%, 66.2%, 0%, 47.8%)
CIE-LABlab(23.10, 26.90, -51.04)
CIE-LCHlch(23.10, 57.70, 297.79°)
OKLaboklab(34.77% -0.0026 -0.1476)
OKLCHoklch(34.77% 0.148 269)
XYZxyz(5.6773, 3.8308, 22.6260)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D85 #85751D
analogous
#1D6185 #1D2D85 #411D85
triadic
#1D2D85 #851D2D #2D851D
tetradic
#1D2D85 #851D61 #85751D #1D8541
square
#1D2D85 #851D61 #85751D #1D8541
split-complementary
#1D2D85 #85411D #61851D
monochromatic
#070B21 #121C53 #1D2D85 #283EB7 #465CD7

Accessibility & contrast

On white

11.89
#1D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1D2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D85
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D85#FFFFFF#000000##FFFFFF
##1D2D851.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.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: #1d2d85;
/* rgb */ color: rgb(29, 45, 133);
/* oklch */ color: oklch(34.8% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#6b65a9',
    500: '#1d2d85',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d85;
$custom-light: #6b65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d85",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 230.769,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34771,
    "c": 0.14764,
    "h": 269
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#1D2D85
secondary
#B8A646
accent
#CE41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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