#1D4EBC#1D4EBC

#1D4EBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.181 H 263.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#1D4EBC
RGBrgb(29, 78, 188)
HSLhsl(222, 73%, 43%)
HSVhsv(222, 85%, 74%)
CMYKcmyk(84.6%, 58.5%, 0%, 26.3%)
CIE-LABlab(36.63, 26.09, -62.23)
CIE-LCHlch(36.63, 67.48, 292.74°)
OKLaboklab(46.31% -0.0218 -0.18)
OKLCHoklch(46.31% 0.181 263.1)
XYZxyz(12.3049, 9.3393, 48.7213)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4EBC #BC8B1D
analogous
#1D9EBC #1D4EBC #3B1DBC
triadic
#1D4EBC #BC1D4E #4EBC1D
tetradic
#1D4EBC #BC1D9E #BC8B1D #1DBC3B
square
#1D4EBC #BC1D9E #BC8B1D #1DBC3B
split-complementary
#1D4EBC #BC3B1D #9EBC1D
monochromatic
#0D2252 #153887 #1D4EBC #366BE0 #6B92E8

Accessibility & contrast

On white

7.32
#1D4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#1D4EBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4EBC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4EBC#FFFFFF#000000##FFFFFF
##1D4EBC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d4ebc;
/* rgb */ color: rgb(29, 78, 188);
/* oklch */ color: oklch(46.3% 0.181 263.1);
Tailwind
colors: {
  custom: {
    50: '#777fd1',
    500: '#1d4ebc',
    950: '#000000',
  },
}
SCSS
$custom: #1d4ebc;
$custom-light: #777fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4ebc",
  "rgb": {
    "r": 29,
    "g": 78,
    "b": 188
  },
  "hsl": {
    "h": 221.509,
    "s": 73.272,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.1813,
    "h": 263.1
  },
  "luminance": 0.09341
}

Semantic roles & 50–950 ramp

primary
#1D4EBC
secondary
#CEAE67
accent
#B738F0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #1D4EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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