#1942A7#1942A7
#1942A7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.169 H 263.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1942A7 |
|---|---|
| RGB | rgb(25, 66, 167) |
| HSL | hsl(223, 74%, 38%) |
| HSV | hsv(223, 85%, 65%) |
| CMYK | cmyk(85%, 60.5%, 0%, 34.5%) |
| CIE-LAB | lab(31.56, 25.58, -58.06) |
| CIE-LCH | lch(31.56, 63.44, 293.78°) |
| OKLab | oklab(41.94% -0.0183 -0.168) |
| OKLCH | oklch(41.94% 0.169 263.8) |
| XYZ | xyz(9.3217, 6.8920, 37.3907) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.31
Sapphire (survey)
#2138AB
ΔE00 3.73
Cobalt (survey)
#1E488F
ΔE00 4.49
Blue Blue
#2242C7
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.67
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1942A7 #A77E19
analogous
#1989A7 #1942A7 #3719A7
triadic
#1942A7 #A71942 #42A719
tetradic
#1942A7 #A71989 #A77E19 #19A737
square
#1942A7 #A71989 #A77E19 #19A737
split-complementary
#1942A7 #A73719 #89A719
monochromatic
#09183D #112D72 #1942A7 #2157DC #557FE6
Accessibility & contrast
On white
8.83
#1942A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#1942A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1942A7
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1942A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1942A7 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051AA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1942a7; /* rgb */ color: rgb(25, 66, 167); /* oklch */ color: oklch(41.9% 0.169 263.8);
Tailwind
colors: {
custom: {
50: '#7175c2',
500: '#1942a7',
950: '#000000',
},
}SCSS
$custom: #1942a7; $custom-light: #7175c2; $custom-dark: #000000;
JSON
{
"hex": "#1942a7",
"rgb": {
"r": 25,
"g": 66,
"b": 167
},
"hsl": {
"h": 222.676,
"s": 73.958,
"l": 37.647
},
"oklch": {
"l": 0.41939,
"c": 0.16897,
"h": 263.8
},
"luminance": 0.06893
}Semantic roles & 50–950 ramp
primary
#1942A7
secondary
#C8A753
accent
#BB37F1
background
#F7F7FC
surface
#EDEDF8
border
#C8C8D1
text
#090812
muted
#7B7B81