#1D2D83#1D2D83

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

Color values

HEX#1D2D83
RGBrgb(29, 45, 131)
HSLhsl(231, 64%, 31%)
HSVhsv(231, 78%, 51%)
CMYKcmyk(77.9%, 65.6%, 0%, 48.6%)
CIE-LABlab(22.92, 26.12, -50.09)
CIE-LCHlch(22.92, 56.49, 297.54°)
OKLaboklab(34.58% -0.0025 -0.1448)
OKLCHoklch(34.58% 0.145 269)
XYZxyz(5.5404, 3.7761, 21.9052)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D83 #83731D
analogous
#1D6083 #1D2D83 #401D83
triadic
#1D2D83 #831D2D #2D831D
tetradic
#1D2D83 #831D60 #83731D #1D8340
square
#1D2D83 #831D60 #83731D #1D8340
split-complementary
#1D2D83 #83401D #60831D
monochromatic
#070B1F #121C51 #1D2D83 #283EB5 #455BD6

Accessibility & contrast

On white

11.96
#1D2D83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2D83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D83
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D83#FFFFFF#000000##FFFFFF
##1D2D831.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2d83;
/* rgb */ color: rgb(29, 45, 131);
/* oklch */ color: oklch(34.6% 0.145 269.0);
Tailwind
colors: {
  custom: {
    50: '#6a65a8',
    500: '#1d2d83',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d83;
$custom-light: #6a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d83",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 230.588,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.14487,
    "h": 269
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#1D2D83
secondary
#B6A446
accent
#CD41E7
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080510
muted
#7A7A7F

Preview Lab

Preview with #1D2D83

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

Preview Lab → · Contrast checker → · Palette generator →

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