#1D2C8E#1D2C8E

#1D2C8E is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.161 H 269.1°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#1D2C8E
RGBrgb(29, 44, 142)
HSLhsl(232, 66%, 34%)
HSVhsv(232, 80%, 56%)
CMYKcmyk(79.6%, 69%, 0%, 44.3%)
CIE-LABlab(23.72, 31.01, -55.64)
CIE-LCHlch(23.72, 63.70, 299.13°)
OKLaboklab(35.49% -0.0026 -0.1611)
OKLCHoklch(35.49% 0.161 269.1)
XYZxyz(6.2882, 4.0149, 26.0295)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C8E #8E7F1D
analogous
#1D648E #1D2C8E #461D8E
triadic
#1D2C8E #8E1D2C #2C8E1D
tetradic
#1D2C8E #8E1D64 #8E7F1D #1D8E46
square
#1D2C8E #8E1D64 #8E7F1D #1D8E46
split-complementary
#1D2C8E #8E461D #648E1D
monochromatic
#080D28 #131C5B #1D2C8E #273CC1 #4B5EDA

Accessibility & contrast

On white

11.65
#1D2C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C8E
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C8E#FFFFFF#000000##FFFFFF
##1D2C8E1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2c8e;
/* rgb */ color: rgb(29, 44, 142);
/* oklch */ color: oklch(35.5% 0.161 269.1);
Tailwind
colors: {
  custom: {
    50: '#6d65b0',
    500: '#1d2c8e',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c8e;
$custom-light: #6d65b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c8e",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 232.035,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35487,
    "c": 0.16111,
    "h": 269.1
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#1D2C8E
secondary
#BDAD4A
accent
#D23FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80

Preview Lab

Preview with #1D2C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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