#1A3F7D#1A3F7D
#1A3F7D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.114 H 260.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #1A3F7D |
|---|---|
| RGB | rgb(26, 63, 125) |
| HSL | hsl(218, 66%, 30%) |
| HSV | hsv(218, 79%, 49%) |
| CMYK | cmyk(79.2%, 49.6%, 0%, 51%) |
| CIE-LAB | lab(27.45, 10.74, -38.97) |
| CIE-LCH | lch(27.45, 40.42, 285.41°) |
| OKLab | oklab(37.8% -0.0195 -0.1119) |
| OKLCH | oklch(37.8% 0.114 260.1) |
| XYZ | xyz(5.9038, 5.2546, 20.1012) |
| Luminance | 0.0525 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.22
Twilight Blue
#0A437A
ΔE00 2.98
Cobalt (survey)
#1E488F
ΔE00 3.48
Marine Blue
#01386A
ΔE00 3.79
Prussian Blue
#004577
ΔE00 4.67
Marine
#042E60
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A3F7D #7D581A
analogous
#1A717D #1A3F7D #271A7D
triadic
#1A3F7D #7D1A3F #3F7D1A
tetradic
#1A3F7D #7D1A71 #7D581A #1A7D27
square
#1A3F7D #7D1A71 #7D581A #1A7D27
split-complementary
#1A3F7D #7D271A #717D1A
monochromatic
#050D19 #0F254A #1A3F7D #2559B0 #3B75D6
Accessibility & contrast
On white
10.24
#1A3F7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#1A3F7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A3F7D
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A3F7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A3F7D | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#003D7C
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1a3f7d; /* rgb */ color: rgb(26, 63, 125); /* oklch */ color: oklch(37.8% 0.114 260.1);
Tailwind
colors: {
custom: {
50: '#6673a3',
500: '#1a3f7d',
950: '#000000',
},
}SCSS
$custom: #1a3f7d; $custom-light: #6673a3; $custom-dark: #000000;
JSON
{
"hex": "#1a3f7d",
"rgb": {
"r": 26,
"g": 63,
"b": 125
},
"hsl": {
"h": 217.576,
"s": 65.563,
"l": 29.608
},
"oklch": {
"l": 0.378,
"c": 0.1136,
"h": 260.1
},
"luminance": 0.05255
}Semantic roles & 50–950 ramp
primary
#1A3F7D
secondary
#B18742
accent
#A93FE9
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F