#1D2695#1D2695

#1D2695 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.177 H 269.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#1D2695
RGBrgb(29, 38, 149)
HSLhsl(236, 67%, 35%)
HSVhsv(236, 81%, 58%)
CMYKcmyk(80.5%, 74.5%, 0%, 41.6%)
CIE-LABlab(23.06, 37.41, -61.07)
CIE-LCHlch(23.06, 71.61, 301.49°)
OKLaboklab(35.23% -0.0005 -0.1769)
OKLCHoklch(35.23% 0.177 269.8)
XYZxyz(6.6228, 3.8166, 28.8156)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2695 #958C1D
analogous
#1D6295 #1D2695 #501D95
triadic
#1D2695 #951D26 #26951D
tetradic
#1D2695 #951D62 #958C1D #1D9550
square
#1D2695 #951D62 #958C1D #1D9550
split-complementary
#1D2695 #95501D #62951D
monochromatic
#090C2F #131962 #1D2695 #2733C8 #505ADD

Accessibility & contrast

On white

11.91
#1D2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1D2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2695
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2695#FFFFFF#000000##FFFFFF
##1D26951.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2695;
/* rgb */ color: rgb(29, 38, 149);
/* oklch */ color: oklch(35.2% 0.177 269.8);
Tailwind
colors: {
  custom: {
    50: '#7061b5',
    500: '#1d2695',
    950: '#000000',
  },
}
SCSS
$custom: #1d2695;
$custom-light: #7061b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2695",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 235.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35226,
    "c": 0.17689,
    "h": 269.8
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#1D2695
secondary
#C0B74E
accent
#DD3DEA
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2695

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

Preview Lab → · Contrast checker → · Palette generator →

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