#1940A7#1940A7
#1940A7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.5% C 0.171 H 264.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #1940A7 |
|---|---|
| RGB | rgb(25, 64, 167) |
| HSL | hsl(224, 74%, 38%) |
| HSV | hsv(224, 85%, 65%) |
| CMYK | cmyk(85%, 61.7%, 0%, 34.5%) |
| CIE-LAB | lab(31.03, 26.93, -58.93) |
| CIE-LCH | lch(31.03, 64.79, 294.56°) |
| OKLab | oklab(41.54% -0.0172 -0.1706) |
| OKLCH | oklch(41.54% 0.171 264.2) |
| XYZ | xyz(9.2069, 6.6623, 37.3524) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.94
Sapphire (survey)
#2138AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 4.69
Cobalt (survey)
#1E488F
ΔE00 4.99
Blueberry
#464196
ΔE00 6.23
Sapphire
#0F52BA
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1940A7 #A78019
analogous
#1987A7 #1940A7 #3919A7
triadic
#1940A7 #A71940 #40A719
tetradic
#1940A7 #A71987 #A78019 #19A739
square
#1940A7 #A71987 #A78019 #19A739
split-complementary
#1940A7 #A73919 #87A719
monochromatic
#09173D #112C72 #1940A7 #2154DC #557DE6
Accessibility & contrast
On white
9.00
#1940A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#1940A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1940A7
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1940A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1940A7 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #1940a7; /* rgb */ color: rgb(25, 64, 167); /* oklch */ color: oklch(41.5% 0.171 264.2);
Tailwind
colors: {
custom: {
50: '#7174c2',
500: '#1940a7',
950: '#000000',
},
}SCSS
$custom: #1940a7; $custom-light: #7174c2; $custom-dark: #000000;
JSON
{
"hex": "#1940a7",
"rgb": {
"r": 25,
"g": 64,
"b": 167
},
"hsl": {
"h": 223.521,
"s": 73.958,
"l": 37.647
},
"oklch": {
"l": 0.4154,
"c": 0.17144,
"h": 264.2
},
"luminance": 0.06663
}Semantic roles & 50–950 ramp
primary
#1940A7
secondary
#C8A853
accent
#BE37F1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090812
muted
#7B7B81