#1D2697#1D2697

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

Color values

HEX#1D2697
RGBrgb(29, 38, 151)
HSLhsl(236, 68%, 35%)
HSVhsv(236, 81%, 59%)
CMYKcmyk(80.8%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.27, 38.12, -61.94)
CIE-LCHlch(23.27, 72.73, 301.61°)
OKLaboklab(35.45% -0.0008 -0.1794)
OKLCHoklch(35.45% 0.179 269.7)
XYZxyz(6.7838, 3.8810, 29.6637)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2697 #978E1D
analogous
#1D6397 #1D2697 #511D97
triadic
#1D2697 #971D26 #26971D
tetradic
#1D2697 #971D63 #978E1D #1D9751
square
#1D2697 #971D63 #978E1D #1D9751
split-complementary
#1D2697 #97511D #63971D
monochromatic
#090C30 #131964 #1D2697 #2733CA #515BDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D2697#FFFFFF#000000##FFFFFF
##1D26971.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)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2697;
/* rgb */ color: rgb(29, 38, 151);
/* oklch */ color: oklch(35.4% 0.179 269.7);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1d2697',
    950: '#000000',
  },
}
SCSS
$custom: #1d2697;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2697",
  "rgb": {
    "r": 29,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 235.574,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35447,
    "c": 0.17942,
    "h": 269.7
  },
  "luminance": 0.03882
}

Semantic roles & 50–950 ramp

primary
#1D2697
secondary
#C0B84F
accent
#DE3DEB
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2697

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

Preview Lab → · Contrast checker → · Palette generator →

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