#1D4EC3#1D4EC3
#1D4EC3 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.190 H 263.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #1D4EC3 |
|---|---|
| RGB | rgb(29, 78, 195) |
| HSL | hsl(222, 74%, 44%) |
| HSV | hsv(222, 85%, 76%) |
| CMYK | cmyk(85.1%, 60%, 0%, 23.5%) |
| CIE-LAB | lab(37.20, 28.80, -65.39) |
| CIE-LCH | lch(37.20, 71.45, 293.77°) |
| OKLab | oklab(46.92% -0.0215 -0.1892) |
| OKLCH | oklch(46.92% 0.19 263.5) |
| XYZ | xyz(13.0779, 9.6485, 52.7922) |
| Luminance | 0.0965 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Blue Blue
#2242C7
ΔE00 4.07
Cobalt
#0047AB
ΔE00 4.14
Blue (survey)
#0343DF
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 6.43
Denim
#1560BD
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1D4EC3 #C3921D
analogous
#1DA1C3 #1D4EC3 #3F1DC3
triadic
#1D4EC3 #C31D4E #4EC31D
tetradic
#1D4EC3 #C31DA1 #C3921D #1DC33F
square
#1D4EC3 #C31DA1 #C3921D #1DC33F
split-complementary
#1D4EC3 #C33F1D #A1C31D
monochromatic
#0D2358 #15398E #1D4EC3 #3B6CE2 #7194EA
Accessibility & contrast
On white
7.17
#1D4EC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#1D4EC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1D4EC3
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1D4EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1D4EC3 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#0050C1
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #1d4ec3; /* rgb */ color: rgb(29, 78, 195); /* oklch */ color: oklch(46.9% 0.190 263.5);
Tailwind
colors: {
custom: {
50: '#797fd6',
500: '#1d4ec3',
950: '#000000',
},
}SCSS
$custom: #1d4ec3; $custom-light: #797fd6; $custom-dark: #000000;
JSON
{
"hex": "#1d4ec3",
"rgb": {
"r": 29,
"g": 78,
"b": 195
},
"hsl": {
"h": 222.289,
"s": 74.107,
"l": 43.922
},
"oklch": {
"l": 0.46921,
"c": 0.19046,
"h": 263.5
},
"luminance": 0.0965
}Semantic roles & 50–950 ramp
primary
#1D4EC3
secondary
#D0B36C
accent
#BA37F1
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83