#1D418F#1D418F

#1D418F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.8% C 0.136 H 263.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#1D418F
RGBrgb(29, 65, 143)
HSLhsl(221, 66%, 34%)
HSVhsv(221, 80%, 56%)
CMYKcmyk(79.7%, 54.5%, 0%, 43.9%)
CIE-LABlab(29.47, 17.04, -46.87)
CIE-LCHlch(29.47, 49.87, 289.98°)
OKLaboklab(39.8% -0.0165 -0.1351)
OKLCHoklch(39.8% 0.136 263)
XYZxyz(7.3531, 6.0241, 26.7565)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D418F #8F6B1D
analogous
#1D7A8F #1D418F #321D8F
triadic
#1D418F #8F1D41 #418F1D
tetradic
#1D418F #8F1D7A #8F6B1D #1D8F32
square
#1D418F #8F1D7A #8F6B1D #1D8F32
split-complementary
#1D418F #8F321D #7A8F1D
monochromatic
#081329 #132A5C #1D418F #2758C2 #4C79DB

Accessibility & contrast

On white

9.52
#1D418F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1D418F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D418F
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D418F#FFFFFF#000000##FFFFFF
##1D418F1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044B92
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1d418f;
/* rgb */ color: rgb(29, 65, 143);
/* oklch */ color: oklch(39.8% 0.136 263.0);
Tailwind
colors: {
  custom: {
    50: '#6c75b0',
    500: '#1d418f',
    950: '#000000',
  },
}
SCSS
$custom: #1d418f;
$custom-light: #6c75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d418f",
  "rgb": {
    "r": 29,
    "g": 65,
    "b": 143
  },
  "hsl": {
    "h": 221.053,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39797,
    "c": 0.13609,
    "h": 263
  },
  "luminance": 0.06025
}

Semantic roles & 50–950 ramp

primary
#1D418F
secondary
#BD994B
accent
#B33FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D418F

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

Preview Lab → · Contrast checker → · Palette generator →

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