#1D2D9F#1D2D9F

#1D2D9F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.182 H 268.5°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#1D2D9F
RGBrgb(29, 45, 159)
HSLhsl(233, 69%, 37%)
HSVhsv(233, 82%, 62%)
CMYKcmyk(81.8%, 71.7%, 0%, 37.6%)
CIE-LABlab(25.68, 36.68, -62.86)
CIE-LCHlch(25.68, 72.78, 300.27°)
OKLaboklab(37.43% -0.0047 -0.1821)
OKLCHoklch(37.43% 0.182 268.5)
XYZxyz(7.7009, 4.6403, 33.2840)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2D9F #9F8F1D
analogous
#1D6E9F #1D2D9F #4E1D9F
triadic
#1D2D9F #9F1D2D #2D9F1D
tetradic
#1D2D9F #9F1D6E #9F8F1D #1D9F4E
square
#1D2D9F #9F1D6E #9F8F1D #1D9F4E
split-complementary
#1D2D9F #9F4E1D #6E9F1D
monochromatic
#0A1037 #141E6B #1D2D9F #263CD3 #5667E0

Accessibility & contrast

On white

10.89
#1D2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1D2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2D9F
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2D9F#FFFFFF#000000##FFFFFF
##1D2D9F1.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1d2d9f;
/* rgb */ color: rgb(29, 45, 159);
/* oklch */ color: oklch(37.4% 0.182 268.5);
Tailwind
colors: {
  custom: {
    50: '#7266bd',
    500: '#1d2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #1d2d9f;
$custom-light: #7266bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2d9f",
  "rgb": {
    "r": 29,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 232.615,
    "s": 69.149,
    "l": 36.863
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.18218,
    "h": 268.5
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#1D2D9F
secondary
#C4B654
accent
#D63CEC
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #1D2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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