#1A307F#1A307F
#1A307F is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.136 H 266.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1A307F |
|---|---|
| RGB | rgb(26, 48, 127) |
| HSL | hsl(227, 66%, 30%) |
| HSV | hsv(227, 80%, 50%) |
| CMYK | cmyk(79.5%, 62.2%, 0%, 50.2%) |
| CIE-LAB | lab(23.22, 22.12, -47.08) |
| CIE-LCH | lch(23.22, 52.02, 295.16°) |
| OKLab | oklab(34.65% -0.0073 -0.136) |
| OKLCH | oklch(34.65% 0.136 266.9) |
| XYZ | xyz(5.3124, 3.8652, 20.5406) |
| Luminance | 0.0387 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.70
Marine Blue
#01386A
ΔE00 6.77
Midnight Blue
#191970
ΔE00 7.00
Darkish Blue
#014182
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A307F #7F691A
analogous
#1A627F #1A307F #371A7F
triadic
#1A307F #7F1A30 #307F1A
tetradic
#1A307F #7F1A62 #7F691A #1A7F37
square
#1A307F #7F1A62 #7F691A #1A7F37
split-complementary
#1A307F #7F371A #627F1A
monochromatic
#050A19 #101D4C #1A307F #2443B2 #3C5ED7
Accessibility & contrast
On white
11.84
#1A307F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1A307F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A307F
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A307F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A307F | 1.00 | 11.84 | 1.77 | 11.84 |
| #FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#00337D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1a307f; /* rgb */ color: rgb(26, 48, 127); /* oklch */ color: oklch(34.6% 0.136 266.9);
Tailwind
colors: {
custom: {
50: '#6868a5',
500: '#1a307f',
950: '#000000',
},
}SCSS
$custom: #1a307f; $custom-light: #6868a5; $custom-dark: #000000;
JSON
{
"hex": "#1a307f",
"rgb": {
"r": 26,
"g": 48,
"b": 127
},
"hsl": {
"h": 226.931,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.3465,
"c": 0.13625,
"h": 266.9
},
"luminance": 0.03866
}Semantic roles & 50–950 ramp
primary
#1A307F
secondary
#B39A42
accent
#C43FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F