#1D4CC2#1D4CC2

#1D4CC2 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.192 H 263.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#1D4CC2
RGBrgb(29, 76, 194)
HSLhsl(223, 74%, 44%)
HSVhsv(223, 85%, 76%)
CMYKcmyk(85.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(36.60, 29.73, -65.79)
CIE-LCHlch(36.60, 72.20, 294.32°)
OKLaboklab(46.44% -0.0205 -0.1904)
OKLCHoklch(46.44% 0.192 263.9)
XYZxyz(12.8253, 9.3235, 52.1521)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D4CC2 #C2931D
analogous
#1D9EC2 #1D4CC2 #401DC2
triadic
#1D4CC2 #C21D4C #4CC21D
tetradic
#1D4CC2 #C21D9E #C2931D #1DC240
square
#1D4CC2 #C21D9E #C2931D #1DC240
split-complementary
#1D4CC2 #C2401D #9EC21D
monochromatic
#0D2258 #15378D #1D4CC2 #3B6AE2 #7092EA

Accessibility & contrast

On white

7.33
#1D4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D4CC2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D4CC2#FFFFFF#000000##FFFFFF
##1D4CC21.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #1d4cc2;
/* rgb */ color: rgb(29, 76, 194);
/* oklch */ color: oklch(46.4% 0.192 263.9);
Tailwind
colors: {
  custom: {
    50: '#787dd5',
    500: '#1d4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #1d4cc2;
$custom-light: #787dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#1d4cc2",
  "rgb": {
    "r": 29,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 222.909,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.19155,
    "h": 263.9
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#1D4CC2
secondary
#D0B36B
accent
#BC37F1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #1D4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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