#1D2C97#1D2C97

#1D2C97 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.173 H 268.9°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1D2C97
RGBrgb(29, 44, 151)
HSLhsl(233, 68%, 35%)
HSVhsv(233, 81%, 59%)
CMYKcmyk(80.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(24.63, 34.38, -59.71)
CIE-LCHlch(24.63, 68.90, 299.93°)
OKLaboklab(36.42% -0.0034 -0.1729)
OKLCHoklch(36.42% 0.173 268.9)
XYZxyz(6.9914, 4.2961, 29.7329)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2C97 #97881D
analogous
#1D6997 #1D2C97 #4B1D97
triadic
#1D2C97 #971D2C #2C971D
tetradic
#1D2C97 #971D69 #97881D #1D974B
square
#1D2C97 #971D69 #97881D #1D974B
split-complementary
#1D2C97 #974B1D #69971D
monochromatic
#090E30 #131D64 #1D2C97 #273BCA #5162DE

Accessibility & contrast

On white

11.29
#1D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1D2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2C97
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2C97#FFFFFF#000000##FFFFFF
##1D2C971.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1d2c97;
/* rgb */ color: rgb(29, 44, 151);
/* oklch */ color: oklch(36.4% 0.173 268.9);
Tailwind
colors: {
  custom: {
    50: '#7065b7',
    500: '#1d2c97',
    950: '#000000',
  },
}
SCSS
$custom: #1d2c97;
$custom-light: #7065b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2c97",
  "rgb": {
    "r": 29,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 232.623,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.17297,
    "h": 268.9
  },
  "luminance": 0.04297
}

Semantic roles & 50–950 ramp

primary
#1D2C97
secondary
#C0B34F
accent
#D53DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #1D2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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