#1A338E#1A338E
#1A338E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.153 H 266.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #1A338E |
|---|---|
| RGB | rgb(26, 51, 142) |
| HSL | hsl(227, 69%, 33%) |
| HSV | hsv(227, 82%, 56%) |
| CMYK | cmyk(81.7%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.38, 26.01, -52.93) |
| CIE-LCH | lch(25.38, 58.97, 296.17°) |
| OKLab | oklab(36.67% -0.0093 -0.1531) |
| OKLCH | oklch(36.67% 0.153 266.5) |
| XYZ | xyz(6.4906, 4.5395, 26.1201) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.40
Blueberry
#464196
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.96
Darkish Blue
#014182
ΔE00 7.12
Cobalt (survey)
#1E488F
ΔE00 7.31
Cobalt
#0047AB
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A338E #8E751A
analogous
#1A6D8E #1A338E #3B1A8E
triadic
#1A338E #8E1A33 #338E1A
tetradic
#1A338E #8E1A6D #8E751A #1A8E3B
square
#1A338E #8E1A6D #8E751A #1A8E3B
split-complementary
#1A338E #8E3B1A #6D8E1A
monochromatic
#070E27 #11205A #1A338E #2346C2 #4566DD
Accessibility & contrast
On white
11.01
#1A338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1A338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A338E
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A338E | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1a338e; /* rgb */ color: rgb(26, 51, 142); /* oklch */ color: oklch(36.7% 0.153 266.5);
Tailwind
colors: {
custom: {
50: '#6c6ab0',
500: '#1a338e',
950: '#000000',
},
}SCSS
$custom: #1a338e; $custom-light: #6c6ab0; $custom-dark: #000000;
JSON
{
"hex": "#1a338e",
"rgb": {
"r": 26,
"g": 51,
"b": 142
},
"hsl": {
"h": 227.069,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.36669,
"c": 0.15342,
"h": 266.5
},
"luminance": 0.0454
}Semantic roles & 50–950 ramp
primary
#1A338E
secondary
#BEA445
accent
#C63CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80