#1D438B#1D438B

#1D438B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.9% C 0.128 H 261.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#1D438B
RGBrgb(29, 67, 139)
HSLhsl(219, 65%, 33%)
HSVhsv(219, 79%, 55%)
CMYKcmyk(79.1%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.76, 14.05, -43.94)
CIE-LCHlch(29.76, 46.13, 287.73°)
OKLaboklab(39.92% -0.0186 -0.1264)
OKLCHoklch(39.92% 0.128 261.6)
XYZxyz(7.1724, 6.1388, 25.2280)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438B #8B651D
analogous
#1D7A8B #1D438B #2E1D8B
triadic
#1D438B #8B1D43 #438B1D
tetradic
#1D438B #8B1D7A #8B651D #1D8B2E
square
#1D438B #8B1D7A #8B651D #1D8B2E
split-complementary
#1D438B #8B2E1D #7A8B1D
monochromatic
#081226 #122B58 #1D438B #285BBE #497BD9

Accessibility & contrast

On white

9.43
#1D438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#1D438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D438B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438B#FFFFFF#000000##FFFFFF
##1D438B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d438b;
/* rgb */ color: rgb(29, 67, 139);
/* oklch */ color: oklch(39.9% 0.128 261.6);
Tailwind
colors: {
  custom: {
    50: '#6b76ad',
    500: '#1d438b',
    950: '#000000',
  },
}
SCSS
$custom: #1d438b;
$custom-light: #6b76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438b",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 219.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.39921,
    "c": 0.12779,
    "h": 261.6
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#1D438B
secondary
#BB9449
accent
#AE3FE8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D438B

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

Preview Lab → · Contrast checker → · Palette generator →

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