#1D2E8D#1D2E8D

#1D2E8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.157 H 268.7°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#1D2E8D
RGBrgb(29, 46, 141)
HSLhsl(231, 66%, 33%)
HSVhsv(231, 79%, 55%)
CMYKcmyk(79.4%, 67.4%, 0%, 44.7%)
CIE-LABlab(24.12, 29.30, -54.36)
CIE-LCHlch(24.12, 61.76, 298.33°)
OKLaboklab(35.75% -0.0036 -0.1573)
OKLCHoklch(35.75% 0.157 268.7)
XYZxyz(6.2897, 4.1376, 25.6613)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2E8D #8D7C1D
analogous
#1D668D #1D2E8D #441D8D
triadic
#1D2E8D #8D1D2E #2E8D1D
tetradic
#1D2E8D #8D1D66 #8D7C1D #1D8D44
square
#1D2E8D #8D1D66 #8D7C1D #1D8D44
split-complementary
#1D2E8D #8D441D #668D1D
monochromatic
#080D27 #131D5A #1D2E8D #273FC0 #4B60DA

Accessibility & contrast

On white

11.49
#1D2E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1D2E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2E8D
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2E8D#FFFFFF#000000##FFFFFF
##1D2E8D1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1d2e8d;
/* rgb */ color: rgb(29, 46, 141);
/* oklch */ color: oklch(35.8% 0.157 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d66af',
    500: '#1d2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #1d2e8d;
$custom-light: #6d66af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2e8d",
  "rgb": {
    "r": 29,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 230.893,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3575,
    "c": 0.15738,
    "h": 268.7
  },
  "luminance": 0.04138
}

Semantic roles & 50–950 ramp

primary
#1D2E8D
secondary
#BCAB4A
accent
#CF3FE9
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #1D2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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