#1D438C#1D438C

#1D438C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.0% C 0.129 H 261.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#1D438C
RGBrgb(29, 67, 140)
HSLhsl(219, 66%, 33%)
HSVhsv(219, 79%, 55%)
CMYKcmyk(79.3%, 52.1%, 0%, 45.1%)
CIE-LABlab(29.83, 14.45, -44.44)
CIE-LCHlch(29.83, 46.73, 288.02°)
OKLaboklab(40% -0.0184 -0.1279)
OKLCHoklch(40% 0.129 261.8)
XYZxyz(7.2458, 6.1681, 25.6145)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438C #8C661D
analogous
#1D7A8C #1D438C #2E1D8C
triadic
#1D438C #8C1D43 #438C1D
tetradic
#1D438C #8C1D7A #8C661D #1D8C2E
square
#1D438C #8C1D7A #8C661D #1D8C2E
split-complementary
#1D438C #8C2E1D #7A8C1D
monochromatic
#081227 #122B59 #1D438C #285BBF #4A7BD9

Accessibility & contrast

On white

9.40
#1D438C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D438C
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438C#FFFFFF#000000##FFFFFF
##1D438C1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144C8F
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#005561
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1d438c;
/* rgb */ color: rgb(29, 67, 140);
/* oklch */ color: oklch(40.0% 0.129 261.8);
Tailwind
colors: {
  custom: {
    50: '#6b76ae',
    500: '#1d438c',
    950: '#000000',
  },
}
SCSS
$custom: #1d438c;
$custom-light: #6b76ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438c",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 219.459,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.12922,
    "h": 261.8
  },
  "luminance": 0.06169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D438C

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

Preview Lab → · Contrast checker → · Palette generator →

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