#1D2C83#1D2C83

#1D2C83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.146 H 269.3°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#1D2C83
RGBrgb(29, 44, 131)
HSLhsl(231, 64%, 31%)
HSVhsv(231, 78%, 51%)
CMYKcmyk(77.9%, 66.4%, 0%, 48.6%)
CIE-LABlab(22.66, 26.80, -50.52)
CIE-LCHlch(22.66, 57.19, 297.95°)
OKLaboklab(34.38% -0.0018 -0.1461)
OKLCHoklch(34.38% 0.146 269.3)
XYZxyz(5.5027, 3.7007, 21.8926)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C83 #83741D
analogous
#1D5F83 #1D2C83 #411D83
triadic
#1D2C83 #831D2C #2C831D
tetradic
#1D2C83 #831D5F #83741D #1D8341
square
#1D2C83 #831D5F #83741D #1D8341
split-complementary
#1D2C83 #83411D #5F831D
monochromatic
#070A1F #121B51 #1D2C83 #283DB5 #455AD6

Accessibility & contrast

On white

12.07
#1D2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1D2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C83
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C83#FFFFFF#000000##FFFFFF
##1D2C831.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1d2c83;
/* rgb */ color: rgb(29, 44, 131);
/* oklch */ color: oklch(34.4% 0.146 269.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a8',
    500: '#1d2c83',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c83;
$custom-light: #6a65a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c83",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 231.176,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34384,
    "c": 0.14612,
    "h": 269.3
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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