#1D4BC2#1D4BC2

#1D4BC2 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.193 H 264.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#1D4BC2
RGBrgb(29, 75, 194)
HSLhsl(223, 74%, 44%)
HSVhsv(223, 85%, 76%)
CMYKcmyk(85.1%, 61.3%, 0%, 23.9%)
CIE-LABlab(36.34, 30.39, -66.22)
CIE-LCHlch(36.34, 72.86, 294.65°)
OKLaboklab(46.25% -0.02 -0.1917)
OKLCHoklch(46.25% 0.193 264)
XYZxyz(12.7569, 9.1868, 52.1293)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4BC2 #C2941D
analogous
#1D9DC2 #1D4BC2 #421DC2
triadic
#1D4BC2 #C21D4B #4BC21D
tetradic
#1D4BC2 #C21D9D #C2941D #1DC242
square
#1D4BC2 #C21D9D #C2941D #1DC242
split-complementary
#1D4BC2 #C2421D #9DC21D
monochromatic
#0D2258 #15368D #1D4BC2 #3B69E2 #7092EA

Accessibility & contrast

On white

7.40
#1D4BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#1D4BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D4BC2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4BC2#FFFFFF#000000##FFFFFF
##1D4BC21.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#004EC0
Tritanopia (blue-blind)
#006A7F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #1d4bc2;
/* rgb */ color: rgb(29, 75, 194);
/* oklch */ color: oklch(46.3% 0.193 264.0);
Tailwind
colors: {
  custom: {
    50: '#787cd5',
    500: '#1d4bc2',
    950: '#000000',
  },
}
SCSS
$custom: #1d4bc2;
$custom-light: #787cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4bc2",
  "rgb": {
    "r": 29,
    "g": 75,
    "b": 194
  },
  "hsl": {
    "h": 223.273,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.19275,
    "h": 264
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#1D4BC2
secondary
#D0B46B
accent
#BD37F1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #1D4BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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