#1940CA#1940CA
#1940CA is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 44.9% C 0.216 H 265.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1940CA |
|---|---|
| RGB | rgb(25, 64, 202) |
| HSL | hsl(227, 78%, 45%) |
| HSV | hsv(227, 88%, 79%) |
| CMYK | cmyk(87.6%, 68.3%, 0%, 20.8%) |
| CIE-LAB | lab(34.26, 40.24, -74.30) |
| CIE-LCH | lch(34.26, 84.49, 298.44°) |
| OKLab | oklab(44.91% -0.0178 -0.2155) |
| OKLCH | oklch(44.91% 0.216 265.3) |
| XYZ | xyz(12.8912, 8.1361, 56.7566) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 0.69
Blue (survey)
#0343DF
ΔE00 2.68
Sapphire (survey)
#2138AB
ΔE00 4.54
Ocean Blue
#4F42B5
ΔE00 5.65
Vibrant Blue
#0339F8
ΔE00 5.68
Blue With A Hint Of Purple
#533CC6
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1940CA #CAA319
analogous
#1998CA #1940CA #4B19CA
triadic
#1940CA #CA1940 #40CA19
tetradic
#1940CA #CA1998 #CAA319 #19CA4B
square
#1940CA #CA1998 #CAA319 #19CA4B
split-complementary
#1940CA #CA4B19 #98CA19
monochromatic
#0C1D5D #122F94 #1940CA #3A60E7 #708CED
Accessibility & contrast
On white
7.99
#1940CA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#1940CA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1940CA
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1940CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1940CA | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #1940ca; /* rgb */ color: rgb(25, 64, 202); /* oklch */ color: oklch(44.9% 0.216 265.3);
Tailwind
colors: {
custom: {
50: '#7b75db',
500: '#1940ca',
950: '#000000',
},
}SCSS
$custom: #1940ca; $custom-light: #7b75db; $custom-dark: #000000;
JSON
{
"hex": "#1940ca",
"rgb": {
"r": 25,
"g": 64,
"b": 202
},
"hsl": {
"h": 226.78,
"s": 77.974,
"l": 44.51
},
"oklch": {
"l": 0.44912,
"c": 0.2162,
"h": 265.3
},
"luminance": 0.08138
}Semantic roles & 50–950 ramp
primary
#1940CA
secondary
#D4BD6B
accent
#CA33F4
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0B0815
muted
#7C7B83