#1A4C98#1A4C98
#1A4C98 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 42.9% C 0.136 H 259.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1A4C98 |
|---|---|
| RGB | rgb(26, 76, 152) |
| HSL | hsl(216, 71%, 35%) |
| HSV | hsv(216, 83%, 60%) |
| CMYK | cmyk(82.9%, 50%, 0%, 40.4%) |
| CIE-LAB | lab(33.25, 12.83, -46.26) |
| CIE-LCH | lch(33.25, 48.00, 285.50°) |
| OKLab | oklab(42.86% -0.0258 -0.1331) |
| OKLCH | oklch(42.86% 0.136 259) |
| XYZ | xyz(8.6759, 7.6544, 30.7199) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.73
Dusk Blue
#26538D
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.19
Light Navy
#155084
ΔE00 4.08
Darkish Blue
#014182
ΔE00 4.37
Sapphire
#0F52BA
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A4C98 #98661A
analogous
#1A8B98 #1A4C98 #271A98
triadic
#1A4C98 #981A4C #4C981A
tetradic
#1A4C98 #981A8B #98661A #1A9827
square
#1A4C98 #981A8B #98661A #1A9827
split-complementary
#1A4C98 #98271A #8B981A
monochromatic
#08182F #113264 #1A4C98 #2366CC #4C87E0
Accessibility & contrast
On white
8.30
#1A4C98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#1A4C98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A4C98
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A4C98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A4C98 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E549B
Deuteranopia (green-blind)
#004996
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #1a4c98; /* rgb */ color: rgb(26, 76, 152); /* oklch */ color: oklch(42.9% 0.136 259.0);
Tailwind
colors: {
custom: {
50: '#6d7db7',
500: '#1a4c98',
950: '#000000',
},
}SCSS
$custom: #1a4c98; $custom-light: #6d7db7; $custom-dark: #000000;
JSON
{
"hex": "#1a4c98",
"rgb": {
"r": 26,
"g": 76,
"b": 152
},
"hsl": {
"h": 216.19,
"s": 70.787,
"l": 34.902
},
"oklch": {
"l": 0.42864,
"c": 0.13557,
"h": 259
},
"luminance": 0.07655
}Semantic roles & 50–950 ramp
primary
#1A4C98
secondary
#C2934B
accent
#A63AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80