#1D438F#1D438F

#1D438F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.2% C 0.134 H 262.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1D438F
RGBrgb(29, 67, 143)
HSLhsl(220, 66%, 34%)
HSVhsv(220, 80%, 56%)
CMYKcmyk(79.7%, 53.1%, 0%, 43.9%)
CIE-LABlab(30.05, 15.66, -45.93)
CIE-LCHlch(30.05, 48.53, 288.83°)
OKLaboklab(40.24% -0.0181 -0.1323)
OKLCHoklch(40.24% 0.134 262.2)
XYZxyz(7.4700, 6.2578, 26.7955)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D438F #8F691D
analogous
#1D7C8F #1D438F #301D8F
triadic
#1D438F #8F1D43 #438F1D
tetradic
#1D438F #8F1D7C #8F691D #1D8F30
square
#1D438F #8F1D7C #8F691D #1D8F30
split-complementary
#1D438F #8F301D #7C8F1D
monochromatic
#081329 #132B5C #1D438F #275BC2 #4C7BDB

Accessibility & contrast

On white

9.33
#1D438F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D438F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D438F#FFFFFF#000000##FFFFFF
##1D438F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d438f;
/* rgb */ color: rgb(29, 67, 143);
/* oklch */ color: oklch(40.2% 0.134 262.2);
Tailwind
colors: {
  custom: {
    50: '#6c76b0',
    500: '#1d438f',
    950: '#000000',
  },
}
SCSS
$custom: #1d438f;
$custom-light: #6c76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d438f",
  "rgb": {
    "r": 29,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 220,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40238,
    "c": 0.1335,
    "h": 262.2
  },
  "luminance": 0.06259
}

Semantic roles & 50–950 ramp

primary
#1D438F
secondary
#BD974B
accent
#B03FE9
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1D438F

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

Preview Lab → · Contrast checker → · Palette generator →

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