#1D2C89#1D2C89

#1D2C89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.154 H 269.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#1D2C89
RGBrgb(29, 44, 137)
HSLhsl(232, 65%, 33%)
HSVhsv(232, 79%, 54%)
CMYKcmyk(78.8%, 67.9%, 0%, 46.3%)
CIE-LABlab(23.23, 29.11, -53.34)
CIE-LCHlch(23.23, 60.76, 298.63°)
OKLaboklab(34.98% -0.0022 -0.1543)
OKLCHoklch(34.98% 0.154 269.2)
XYZxyz(5.9212, 3.8681, 24.0966)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C89 #897A1D
analogous
#1D6289 #1D2C89 #441D89
triadic
#1D2C89 #891D2C #2C891D
tetradic
#1D2C89 #891D62 #897A1D #1D8944
square
#1D2C89 #891D62 #897A1D #1D8944
split-complementary
#1D2C89 #89441D #62891D
monochromatic
#080C24 #121C56 #1D2C89 #283CBC #485CD8

Accessibility & contrast

On white

11.84
#1D2C89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D2C89
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C89#FFFFFF#000000##FFFFFF
##1D2C891.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2c89;
/* rgb */ color: rgb(29, 44, 137);
/* oklch */ color: oklch(35.0% 0.154 269.2);
Tailwind
colors: {
  custom: {
    50: '#6c65ac',
    500: '#1d2c89',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c89;
$custom-light: #6c65ac;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c89",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 137
  },
  "hsl": {
    "h": 231.667,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.15437,
    "h": 269.2
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#1D2C89
secondary
#BAAA47
accent
#D140E8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2C89

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

Preview Lab → · Contrast checker → · Palette generator →

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