#1D4BBB#1D4BBB

#1D4BBB is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.184 H 263.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#1D4BBB
RGBrgb(29, 75, 187)
HSLhsl(223, 73%, 42%)
HSVhsv(223, 84%, 73%)
CMYKcmyk(84.5%, 59.9%, 0%, 26.7%)
CIE-LABlab(35.75, 27.69, -63.08)
CIE-LCHlch(35.75, 68.89, 293.70°)
OKLaboklab(45.63% -0.0202 -0.1825)
OKLCHoklch(45.63% 0.184 263.7)
XYZxyz(11.9892, 8.8797, 48.0861)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4BBB #BB8D1D
analogous
#1D9ABB #1D4BBB #3E1DBB
triadic
#1D4BBB #BB1D4B #4BBB1D
tetradic
#1D4BBB #BB1D9A #BB8D1D #1DBB3E
square
#1D4BBB #BB1D9A #BB8D1D #1DBB3E
split-complementary
#1D4BBB #BB3E1D #9ABB1D
monochromatic
#0D2051 #153686 #1D4BBB #3567E0 #6A8FE8

Accessibility & contrast

On white

7.56
#1D4BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#1D4BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4BBB
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4BBB#FFFFFF#000000##FFFFFF
##1D4BBB1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #1d4bbb;
/* rgb */ color: rgb(29, 75, 187);
/* oklch */ color: oklch(45.6% 0.184 263.7);
Tailwind
colors: {
  custom: {
    50: '#777cd0',
    500: '#1d4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #1d4bbb;
$custom-light: #777cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4bbb",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 222.532,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45628,
    "c": 0.18362,
    "h": 263.7
  },
  "luminance": 0.08881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1D4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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