#1D418E#1D418E

#1D418E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.7% C 0.135 H 262.9°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#1D418E
RGBrgb(29, 65, 142)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(79.6%, 54.2%, 0%, 44.3%)
CIE-LABlab(29.40, 16.64, -46.38)
CIE-LCHlch(29.40, 49.27, 289.74°)
OKLaboklab(39.72% -0.0166 -0.1336)
OKLCHoklch(39.72% 0.135 262.9)
XYZxyz(7.2777, 5.9940, 26.3593)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D418E #8E6A1D
analogous
#1D798E #1D418E #311D8E
triadic
#1D418E #8E1D41 #418E1D
tetradic
#1D418E #8E1D79 #8E6A1D #1D8E31
square
#1D418E #8E1D79 #8E6A1D #1D8E31
split-complementary
#1D418E #8E311D #798E1D
monochromatic
#081228 #132A5B #1D418E #2758C1 #4B79DA

Accessibility & contrast

On white

9.55
#1D418E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1D418E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D418E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D418E#FFFFFF#000000##FFFFFF
##1D418E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074B91
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d418e;
/* rgb */ color: rgb(29, 65, 142);
/* oklch */ color: oklch(39.7% 0.135 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1d418e',
    950: '#000000',
  },
}
SCSS
$custom: #1d418e;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d418e",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 220.885,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39715,
    "c": 0.13466,
    "h": 262.9
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#1D418E
secondary
#BD984A
accent
#B33FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1D418E

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

Preview Lab → · Contrast checker → · Palette generator →

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