#1D2B8C#1D2B8C

#1D2B8C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.160 H 269.3°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#1D2B8C
RGBrgb(29, 43, 140)
HSLhsl(232, 66%, 33%)
HSVhsv(232, 79%, 55%)
CMYKcmyk(79.3%, 69.3%, 0%, 45.1%)
CIE-LABlab(23.28, 30.92, -55.13)
CIE-LCHlch(23.28, 63.21, 299.29°)
OKLaboklab(35.1% -0.0019 -0.1596)
OKLCHoklch(35.1% 0.16 269.3)
XYZxyz(6.1026, 3.8817, 25.2335)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2B8C #8C7E1D
analogous
#1D628C #1D2B8C #461D8C
triadic
#1D2B8C #8C1D2B #2B8C1D
tetradic
#1D2B8C #8C1D62 #8C7E1D #1D8C46
square
#1D2B8C #8C1D62 #8C7E1D #1D8C46
split-complementary
#1D2B8C #8C461D #628C1D
monochromatic
#080C27 #121B59 #1D2B8C #283BBF #4A5CD9

Accessibility & contrast

On white

11.82
#1D2B8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1D2B8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2B8C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2B8C#FFFFFF#000000##FFFFFF
##1D2B8C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2b8c;
/* rgb */ color: rgb(29, 43, 140);
/* oklch */ color: oklch(35.1% 0.160 269.3);
Tailwind
colors: {
  custom: {
    50: '#6d64af',
    500: '#1d2b8c',
    950: '#000000',
  },
}
SCSS
$custom: #1d2b8c;
$custom-light: #6d64af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2b8c",
  "rgb": {
    "r": 29,
    "g": 43,
    "b": 140
  },
  "hsl": {
    "h": 232.432,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35104,
    "c": 0.1596,
    "h": 269.3
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#1D2B8C
secondary
#BCAD49
accent
#D33FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #1D2B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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