#1D4EB3#1D4EB3

#1D4EB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.169 H 262.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#1D4EB3
RGBrgb(29, 78, 179)
HSLhsl(220, 72%, 41%)
HSVhsv(220, 84%, 70%)
CMYKcmyk(83.8%, 56.4%, 0%, 29.8%)
CIE-LABlab(35.91, 22.56, -58.10)
CIE-LCHlch(35.91, 62.33, 291.22°)
OKLaboklab(45.55% -0.0224 -0.1678)
OKLCHoklch(45.55% 0.169 262.4)
XYZxyz(11.3648, 8.9633, 43.7702)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4EB3 #B3821D
analogous
#1D99B3 #1D4EB3 #371DB3
triadic
#1D4EB3 #B31D4E #4EB31D
tetradic
#1D4EB3 #B31D99 #B3821D #1DB337
square
#1D4EB3 #B31D99 #B3821D #1DB337
split-complementary
#1D4EB3 #B3371D #99B31D
monochromatic
#0C204A #14377E #1D4EB3 #3068DD #648FE6

Accessibility & contrast

On white

7.52
#1D4EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#1D4EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4EB3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4EB3#FFFFFF#000000##FFFFFF
##1D4EB31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d4eb3;
/* rgb */ color: rgb(29, 78, 179);
/* oklch */ color: oklch(45.5% 0.169 262.4);
Tailwind
colors: {
  custom: {
    50: '#747ecb',
    500: '#1d4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #1d4eb3;
$custom-light: #747ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4eb3",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 220.4,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.16933,
    "h": 262.4
  },
  "luminance": 0.08965
}

Semantic roles & 50–950 ramp

primary
#1D4EB3
secondary
#CBA861
accent
#B339EF
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #1D4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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