#1D2A83#1D2A83

#1D2A83 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.149 H 269.8°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1D2A83
RGBrgb(29, 42, 131)
HSLhsl(232, 64%, 31%)
HSVhsv(232, 78%, 51%)
CMYKcmyk(77.9%, 67.9%, 0%, 48.6%)
CIE-LABlab(22.14, 28.16, -51.36)
CIE-LCHlch(22.14, 58.58, 298.74°)
OKLaboklab(34.01% -0.0006 -0.1486)
OKLCHoklch(34.01% 0.149 269.8)
XYZxyz(5.4300, 3.5552, 21.8684)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2A83 #83761D
analogous
#1D5D83 #1D2A83 #431D83
triadic
#1D2A83 #831D2A #2A831D
tetradic
#1D2A83 #831D5D #83761D #1D8343
square
#1D2A83 #831D5D #83761D #1D8343
split-complementary
#1D2A83 #83431D #5D831D
monochromatic
#070A1F #121A51 #1D2A83 #283AB5 #4557D6

Accessibility & contrast

On white

12.27
#1D2A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1D2A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2A83
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2A83#FFFFFF#000000##FFFFFF
##1D2A831.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1d2a83;
/* rgb */ color: rgb(29, 42, 131);
/* oklch */ color: oklch(34.0% 0.149 269.8);
Tailwind
colors: {
  custom: {
    50: '#6b63a8',
    500: '#1d2a83',
    950: '#000000',
  },
}
SCSS
$custom: #1d2a83;
$custom-light: #6b63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2a83",
  "rgb": {
    "r": 29,
    "g": 42,
    "b": 131
  },
  "hsl": {
    "h": 232.353,
    "s": 63.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.14858,
    "h": 269.8
  },
  "luminance": 0.03556
}

Semantic roles & 50–950 ramp

primary
#1D2A83
secondary
#B6A846
accent
#D241E7
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#080510
muted
#7A797F

Preview Lab

Preview with #1D2A83

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

Preview Lab → · Contrast checker → · Palette generator →

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