#1D4FAC#1D4FAC

#1D4FAC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.2% C 0.159 H 261.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#1D4FAC
RGBrgb(29, 79, 172)
HSLhsl(219, 71%, 39%)
HSVhsv(219, 83%, 67%)
CMYKcmyk(83.1%, 54.1%, 0%, 32.5%)
CIE-LABlab(35.66, 19.12, -54.37)
CIE-LCHlch(35.66, 57.63, 289.38°)
OKLaboklab(45.18% -0.0237 -0.1569)
OKLCHoklch(45.18% 0.159 261.4)
XYZxyz(10.7464, 8.8304, 40.1598)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4FAC #AC7A1D
analogous
#1D97AC #1D4FAC #331DAC
triadic
#1D4FAC #AC1D4F #4FAC1D
tetradic
#1D4FAC #AC1D97 #AC7A1D #1DAC33
square
#1D4FAC #AC1D97 #AC7A1D #1DAC33
split-complementary
#1D4FAC #AC331D #97AC1D
monochromatic
#0B1F43 #143778 #1D4FAC #2B69DB #5F8EE4

Accessibility & contrast

On white

7.59
#1D4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#1D4FAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4FAC
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4FAC#FFFFFF#000000##FFFFFF
##1D4FAC1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BAF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d4fac;
/* rgb */ color: rgb(29, 79, 172);
/* oklch */ color: oklch(45.2% 0.159 261.4);
Tailwind
colors: {
  custom: {
    50: '#727fc5',
    500: '#1d4fac',
    950: '#000000',
  },
}
SCSS
$custom: #1d4fac;
$custom-light: #727fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4fac",
  "rgb": {
    "r": 29,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 219.021,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.15864,
    "h": 261.4
  },
  "luminance": 0.08832
}

Semantic roles & 50–950 ramp

primary
#1D4FAC
secondary
#C8A35C
accent
#AF3AEE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A13
muted
#7B7C82

Preview Lab

Preview with #1D4FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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