#1D438A#1D438A

#1D438A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.126 H 261.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#1D438A
RGBrgb(29, 67, 138)
HSLhsl(219, 65%, 33%)
HSVhsv(219, 79%, 54%)
CMYKcmyk(79%, 51.4%, 0%, 45.9%)
CIE-LABlab(29.69, 13.64, -43.44)
CIE-LCHlch(29.69, 45.53, 287.44°)
OKLaboklab(39.84% -0.0187 -0.125)
OKLCHoklch(39.84% 0.126 261.5)
XYZxyz(7.0996, 6.1097, 24.8449)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438A #8A641D
analogous
#1D798A #1D438A #2E1D8A
triadic
#1D438A #8A1D43 #438A1D
tetradic
#1D438A #8A1D79 #8A641D #1D8A2E
square
#1D438A #8A1D79 #8A641D #1D8A2E
split-complementary
#1D438A #8A2E1D #798A1D
monochromatic
#081225 #122A57 #1D438A #285CBD #497BD9

Accessibility & contrast

On white

9.45
#1D438A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1D438A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D438A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438A#FFFFFF#000000##FFFFFF
##1D438A1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184B8D
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d438a;
/* rgb */ color: rgb(29, 67, 138);
/* oklch */ color: oklch(39.8% 0.126 261.5);
Tailwind
colors: {
  custom: {
    50: '#6b76ad',
    500: '#1d438a',
    950: '#000000',
  },
}
SCSS
$custom: #1d438a;
$custom-light: #6b76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438a",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 219.083,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.12635,
    "h": 261.5
  },
  "luminance": 0.0611
}

Semantic roles & 50–950 ramp

primary
#1D438A
secondary
#BB9348
accent
#AD40E8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D438A

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

Preview Lab → · Contrast checker → · Palette generator →

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