#1D438D#1D438D

#1D438D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.1% C 0.131 H 261.9°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#1D438D
RGBrgb(29, 67, 141)
HSLhsl(220, 66%, 33%)
HSVhsv(220, 79%, 55%)
CMYKcmyk(79.4%, 52.5%, 0%, 44.7%)
CIE-LABlab(29.91, 14.86, -44.94)
CIE-LCHlch(29.91, 47.33, 288.29°)
OKLaboklab(40.08% -0.0183 -0.1294)
OKLCHoklch(40.08% 0.131 261.9)
XYZxyz(7.3198, 6.1978, 26.0046)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438D #8D671D
analogous
#1D7B8D #1D438D #2F1D8D
triadic
#1D438D #8D1D43 #438D1D
tetradic
#1D438D #8D1D7B #8D671D #1D8D2F
square
#1D438D #8D1D7B #8D671D #1D8D2F
split-complementary
#1D438D #8D2F1D #7B8D1D
monochromatic
#081327 #132B5A #1D438D #275BC0 #4B7BDA

Accessibility & contrast

On white

9.38
#1D438D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1D438D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D438D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438D#FFFFFF#000000##FFFFFF
##1D438D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134C90
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d438d;
/* rgb */ color: rgb(29, 67, 141);
/* oklch */ color: oklch(40.1% 0.131 261.9);
Tailwind
colors: {
  custom: {
    50: '#6b76af',
    500: '#1d438d',
    950: '#000000',
  },
}
SCSS
$custom: #1d438d;
$custom-light: #6b76af;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438d",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 219.643,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40079,
    "c": 0.13065,
    "h": 261.9
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#1D438D
secondary
#BC954A
accent
#AF3FE9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D438D

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

Preview Lab → · Contrast checker → · Palette generator →

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