#1D4ABB#1D4ABB

#1D4ABB is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.185 H 263.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#1D4ABB
RGBrgb(29, 74, 187)
HSLhsl(223, 73%, 42%)
HSVhsv(223, 84%, 73%)
CMYKcmyk(84.5%, 60.4%, 0%, 26.7%)
CIE-LABlab(35.49, 28.35, -63.51)
CIE-LCHlch(35.49, 69.55, 294.06°)
OKLaboklab(45.43% -0.0196 -0.1838)
OKLCHoklch(45.43% 0.185 263.9)
XYZxyz(11.9219, 8.7451, 48.0637)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4ABB #BB8E1D
analogous
#1D99BB #1D4ABB #3F1DBB
triadic
#1D4ABB #BB1D4A #4ABB1D
tetradic
#1D4ABB #BB1D99 #BB8E1D #1DBB3F
square
#1D4ABB #BB1D99 #BB8E1D #1DBB3F
split-complementary
#1D4ABB #BB3F1D #99BB1D
monochromatic
#0D2051 #153586 #1D4ABB #3566E0 #6A8EE8

Accessibility & contrast

On white

7.64
#1D4ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#1D4ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4ABB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4ABB#FFFFFF#000000##FFFFFF
##1D4ABB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004CB9
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #1d4abb;
/* rgb */ color: rgb(29, 74, 187);
/* oklch */ color: oklch(45.4% 0.185 263.9);
Tailwind
colors: {
  custom: {
    50: '#777cd0',
    500: '#1d4abb',
    950: '#000000',
  },
}
SCSS
$custom: #1d4abb;
$custom-light: #777cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4abb",
  "rgb": {
    "r": 29,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 222.911,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45432,
    "c": 0.18484,
    "h": 263.9
  },
  "luminance": 0.08747
}

Semantic roles & 50–950 ramp

primary
#1D4ABB
secondary
#CEB066
accent
#BB38F0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #1D4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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