#1D438E#1D438E

#1D438E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.132 H 262.1°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#1D438E
RGBrgb(29, 67, 142)
HSLhsl(220, 66%, 34%)
HSVhsv(220, 80%, 56%)
CMYKcmyk(79.6%, 52.8%, 0%, 44.3%)
CIE-LABlab(29.98, 15.26, -45.43)
CIE-LCHlch(29.98, 47.93, 288.57°)
OKLaboklab(40.16% -0.0182 -0.1308)
OKLCHoklch(40.16% 0.132 262.1)
XYZxyz(7.3946, 6.2277, 26.3983)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438E #8E681D
analogous
#1D7B8E #1D438E #2F1D8E
triadic
#1D438E #8E1D43 #438E1D
tetradic
#1D438E #8E1D7B #8E681D #1D8E2F
square
#1D438E #8E1D7B #8E681D #1D8E2F
split-complementary
#1D438E #8E2F1D #7B8E1D
monochromatic
#081328 #132B5B #1D438E #275BC1 #4B7BDA

Accessibility & contrast

On white

9.35
#1D438E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1D438E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D438E
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438E#FFFFFF#000000##FFFFFF
##1D438E1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114C91
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1d438e;
/* rgb */ color: rgb(29, 67, 142);
/* oklch */ color: oklch(40.2% 0.132 262.1);
Tailwind
colors: {
  custom: {
    50: '#6c76b0',
    500: '#1d438e',
    950: '#000000',
  },
}
SCSS
$custom: #1d438e;
$custom-light: #6c76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438e",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 219.823,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40158,
    "c": 0.13208,
    "h": 262.1
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#1D438E
secondary
#BD964A
accent
#B03FE9
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1D438E

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

Preview Lab → · Contrast checker → · Palette generator →

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