#1D418D#1D418D

#1D418D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.6% C 0.133 H 262.8°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#1D418D
RGBrgb(29, 65, 141)
HSLhsl(221, 66%, 33%)
HSVhsv(221, 79%, 55%)
CMYKcmyk(79.4%, 53.9%, 0%, 44.7%)
CIE-LABlab(29.32, 16.24, -45.88)
CIE-LCHlch(29.32, 48.67, 289.49°)
OKLaboklab(39.63% -0.0167 -0.1322)
OKLCHoklch(39.63% 0.133 262.8)
XYZxyz(7.2030, 5.9641, 25.9657)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D418D #8D691D
analogous
#1D798D #1D418D #311D8D
triadic
#1D418D #8D1D41 #418D1D
tetradic
#1D418D #8D1D79 #8D691D #1D8D31
square
#1D418D #8D1D79 #8D691D #1D8D31
split-complementary
#1D418D #8D311D #798D1D
monochromatic
#081227 #132A5A #1D418D #2758C0 #4B79DA

Accessibility & contrast

On white

9.58
#1D418D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1D418D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D418D
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D418D#FFFFFF#000000##FFFFFF
##1D418D1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A90
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d418d;
/* rgb */ color: rgb(29, 65, 141);
/* oklch */ color: oklch(39.6% 0.133 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b75af',
    500: '#1d418d',
    950: '#000000',
  },
}
SCSS
$custom: #1d418d;
$custom-light: #6b75af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d418d",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 141
  },
  "hsl": {
    "h": 220.714,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.39634,
    "c": 0.13323,
    "h": 262.8
  },
  "luminance": 0.05965
}

Semantic roles & 50–950 ramp

primary
#1D418D
secondary
#BC974A
accent
#B23FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D418D

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

Preview Lab → · Contrast checker → · Palette generator →

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