#1A338A#1A338A
#1A338A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.148 H 266.4°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #1A338A |
|---|---|
| RGB | rgb(26, 51, 138) |
| HSL | hsl(227, 68%, 32%) |
| HSV | hsv(227, 81%, 54%) |
| CMYK | cmyk(81.2%, 63%, 0%, 45.9%) |
| CIE-LAB | lab(25.02, 24.42, -51.03) |
| CIE-LCH | lch(25.02, 56.58, 295.57°) |
| OKLab | oklab(36.29% -0.0092 -0.1476) |
| OKLCH | oklch(36.29% 0.148 266.4) |
| XYZ | xyz(6.1957, 4.4215, 24.5667) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.99
Blueberry
#464196
ΔE00 6.71
Darkish Blue
#014182
ΔE00 6.84
Darkslateblue
#483D8B
ΔE00 7.00
Marine
#042E60
ΔE00 7.18
Cobalt (survey)
#1E488F
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A338A #8A711A
analogous
#1A6B8A #1A338A #391A8A
triadic
#1A338A #8A1A33 #338A1A
tetradic
#1A338A #8A1A6B #8A711A #1A8A39
square
#1A338A #8A1A6B #8A711A #1A8A39
split-complementary
#1A338A #8A391A #6B8A1A
monochromatic
#070D23 #102057 #1A338A #2446BD #4365DC
Accessibility & contrast
On white
11.14
#1A338A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#1A338A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A338A
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A338A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A338A | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1a338a; /* rgb */ color: rgb(26, 51, 138); /* oklch */ color: oklch(36.3% 0.148 266.4);
Tailwind
colors: {
custom: {
50: '#6b6aad',
500: '#1a338a',
950: '#000000',
},
}SCSS
$custom: #1a338a; $custom-light: #6b6aad; $custom-dark: #000000;
JSON
{
"hex": "#1a338a",
"rgb": {
"r": 26,
"g": 51,
"b": 138
},
"hsl": {
"h": 226.607,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.3629,
"c": 0.14789,
"h": 266.4
},
"luminance": 0.04422
}Semantic roles & 50–950 ramp
primary
#1A338A
secondary
#BDA243
accent
#C43DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F