#1A307E#1A307E
#1A307E is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.135 H 266.9°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).
Color values
| HEX | #1A307E |
|---|---|
| RGB | rgb(26, 48, 126) |
| HSL | hsl(227, 66%, 30%) |
| HSV | hsv(227, 79%, 49%) |
| CMYK | cmyk(79.4%, 61.9%, 0%, 50.6%) |
| CIE-LAB | lab(23.13, 21.71, -46.59) |
| CIE-LCH | lch(23.13, 51.41, 294.98°) |
| OKLab | oklab(34.56% -0.0073 -0.1346) |
| OKLCH | oklch(34.56% 0.135 266.9) |
| XYZ | xyz(5.2475, 3.8393, 20.1991) |
| Luminance | 0.0384 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.80
Marine Blue
#01386A
ΔE00 6.67
Sapphire (survey)
#2138AB
ΔE00 6.86
Midnight Blue
#191970
ΔE00 7.02
Darkish Blue
#014182
ΔE00 7.24
Darkslateblue
#483D8B
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A307E #7E681A
analogous
#1A627E #1A307E #361A7E
triadic
#1A307E #7E1A30 #307E1A
tetradic
#1A307E #7E1A62 #7E681A #1A7E36
square
#1A307E #7E1A62 #7E681A #1A7E36
split-complementary
#1A307E #7E361A #627E1A
monochromatic
#050A19 #101D4B #1A307E #2443B1 #3C5ED7
Accessibility & contrast
On white
11.88
#1A307E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#1A307E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A307E
11.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A307E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A307E | 1.00 | 11.88 | 1.77 | 11.88 |
| #FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #1a307e; /* rgb */ color: rgb(26, 48, 126); /* oklch */ color: oklch(34.6% 0.135 266.9);
Tailwind
colors: {
custom: {
50: '#6868a4',
500: '#1a307e',
950: '#000000',
},
}SCSS
$custom: #1a307e; $custom-light: #6868a4; $custom-dark: #000000;
JSON
{
"hex": "#1a307e",
"rgb": {
"r": 26,
"g": 48,
"b": 126
},
"hsl": {
"h": 226.8,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.34557,
"c": 0.13482,
"h": 266.9
},
"luminance": 0.0384
}Semantic roles & 50–950 ramp
primary
#1A307E
secondary
#B29942
accent
#C33FE9
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F