#1D2497#1D2497

#1D2497 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.181 H 270.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1D2497
RGBrgb(29, 36, 151)
HSLhsl(237, 68%, 35%)
HSVhsv(237, 81%, 59%)
CMYKcmyk(80.8%, 76.2%, 0%, 40.8%)
CIE-LABlab(22.85, 39.31, -62.64)
CIE-LCHlch(22.85, 73.95, 302.11°)
OKLaboklab(35.14% -0.0001 -0.1814)
OKLCHoklch(35.14% 0.181 270)
XYZxyz(6.7216, 3.7566, 29.6430)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D2497 #97901D
analogous
#1D6197 #1D2497 #531D97
triadic
#1D2497 #971D24 #24971D
tetradic
#1D2497 #971D61 #97901D #1D9753
square
#1D2497 #971D61 #97901D #1D9753
split-complementary
#1D2497 #97531D #61971D
monochromatic
#090C30 #131864 #1D2497 #2730CA #5159DE

Accessibility & contrast

On white

11.99
#1D2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1D2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D2497
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D2497#FFFFFF#000000##FFFFFF
##1D24971.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1d2497;
/* rgb */ color: rgb(29, 36, 151);
/* oklch */ color: oklch(35.1% 0.181 270.0);
Tailwind
colors: {
  custom: {
    50: '#7160b7',
    500: '#1d2497',
    950: '#000000',
  },
}
SCSS
$custom: #1d2497;
$custom-light: #7160b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1d2497",
  "rgb": {
    "r": 29,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 236.557,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35145,
    "c": 0.18145,
    "h": 270
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#1D2497
secondary
#C0BA4F
accent
#E13DEB
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1D2497

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

Preview Lab → · Contrast checker → · Palette generator →

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