#1D2995#1D2995

#1D2995 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.174 H 269.4°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1D2995
RGBrgb(29, 41, 149)
HSLhsl(234, 67%, 35%)
HSVhsv(234, 81%, 58%)
CMYKcmyk(80.5%, 72.5%, 0%, 41.6%)
CIE-LABlab(23.72, 35.55, -59.96)
CIE-LCHlch(23.72, 69.71, 300.66°)
OKLaboklab(35.71% -0.0018 -0.1737)
OKLCHoklch(35.71% 0.174 269.4)
XYZxyz(6.7226, 4.0162, 28.8488)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2995 #95891D
analogous
#1D6595 #1D2995 #4D1D95
triadic
#1D2995 #951D29 #29951D
tetradic
#1D2995 #951D65 #95891D #1D954D
square
#1D2995 #951D65 #95891D #1D954D
split-complementary
#1D2995 #954D1D #65951D
monochromatic
#090D2F #131B62 #1D2995 #2737C8 #505EDD

Accessibility & contrast

On white

11.64
#1D2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1D2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2995
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2995#FFFFFF#000000##FFFFFF
##1D29951.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003393
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1d2995;
/* rgb */ color: rgb(29, 41, 149);
/* oklch */ color: oklch(35.7% 0.174 269.4);
Tailwind
colors: {
  custom: {
    50: '#7063b5',
    500: '#1d2995',
    950: '#000000',
  },
}
SCSS
$custom: #1d2995;
$custom-light: #7063b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2995",
  "rgb": {
    "r": 29,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 234,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35706,
    "c": 0.1737,
    "h": 269.4
  },
  "luminance": 0.04017
}

Semantic roles & 50–950 ramp

primary
#1D2995
secondary
#C0B44E
accent
#D93DEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2995

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

Preview Lab → · Contrast checker → · Palette generator →

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