#1D418A#1D418A

#1D418A is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.4% C 0.129 H 262.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#1D418A
RGBrgb(29, 65, 138)
HSLhsl(220, 65%, 33%)
HSVhsv(220, 79%, 54%)
CMYKcmyk(79%, 52.9%, 0%, 45.9%)
CIE-LABlab(29.10, 15.03, -44.40)
CIE-LCHlch(29.10, 46.87, 288.70°)
OKLaboklab(39.39% -0.0171 -0.1278)
OKLCHoklch(39.39% 0.129 262.4)
XYZxyz(6.9828, 5.8760, 24.8060)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D418A #8A661D
analogous
#1D788A #1D418A #2F1D8A
triadic
#1D418A #8A1D41 #418A1D
tetradic
#1D418A #8A1D78 #8A661D #1D8A2F
square
#1D418A #8A1D78 #8A661D #1D8A2F
split-complementary
#1D418A #8A2F1D #788A1D
monochromatic
#081125 #122957 #1D418A #2859BD #4978D9

Accessibility & contrast

On white

9.65
#1D418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1D418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D418A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D418A#FFFFFF#000000##FFFFFF
##1D418A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d418a;
/* rgb */ color: rgb(29, 65, 138);
/* oklch */ color: oklch(39.4% 0.129 262.4);
Tailwind
colors: {
  custom: {
    50: '#6b75ad',
    500: '#1d418a',
    950: '#000000',
  },
}
SCSS
$custom: #1d418a;
$custom-light: #6b75ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d418a",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 220.183,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39392,
    "c": 0.12893,
    "h": 262.4
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#1D418A
secondary
#BB9548
accent
#B140E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D418A

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

Preview Lab → · Contrast checker → · Palette generator →

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