#1A3F97#1A3F97
#1A3F97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.151 H 263.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1A3F97 |
|---|---|
| RGB | rgb(26, 63, 151) |
| HSL | hsl(222, 71%, 35%) |
| HSV | hsv(222, 83%, 59%) |
| CMYK | cmyk(82.8%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(29.43, 21.33, -51.84) |
| CIE-LCH | lch(29.43, 56.06, 292.37°) |
| OKLab | oklab(39.94% -0.0166 -0.1498) |
| OKLCH | oklch(39.94% 0.151 263.7) |
| XYZ | xyz(7.7874, 6.0081, 30.0214) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.67
Cobalt
#0047AB
ΔE00 3.67
Sapphire (survey)
#2138AB
ΔE00 4.53
Darkish Blue
#014182
ΔE00 4.66
Twilight Blue
#0A437A
ΔE00 5.82
Blueberry
#464196
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A3F97 #97721A
analogous
#1A7E97 #1A3F97 #341A97
triadic
#1A3F97 #971A3F #3F971A
tetradic
#1A3F97 #971A7E #97721A #1A9734
square
#1A3F97 #971A7E #97721A #1A9734
split-complementary
#1A3F97 #97341A #7E971A
monochromatic
#08132F #112963 #1A3F97 #2355CB #4B77E0
Accessibility & contrast
On white
9.54
#1A3F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#1A3F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A3F97
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A3F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A3F97 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #1a3f97; /* rgb */ color: rgb(26, 63, 151); /* oklch */ color: oklch(39.9% 0.151 263.7);
Tailwind
colors: {
custom: {
50: '#6d73b6',
500: '#1a3f97',
950: '#000000',
},
}SCSS
$custom: #1a3f97; $custom-light: #6d73b6; $custom-dark: #000000;
JSON
{
"hex": "#1a3f97",
"rgb": {
"r": 26,
"g": 63,
"b": 151
},
"hsl": {
"h": 222.24,
"s": 70.621,
"l": 34.706
},
"oklch": {
"l": 0.39936,
"c": 0.15068,
"h": 263.7
},
"luminance": 0.06009
}Semantic roles & 50–950 ramp
primary
#1A3F97
secondary
#C29F4B
accent
#B83AED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80