#2962C6#2962C6
#2962C6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.6% C 0.167 H 260.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2962C6 |
|---|---|
| RGB | rgb(41, 98, 198) |
| HSL | hsl(218, 66%, 47%) |
| HSV | hsv(218, 79%, 78%) |
| CMYK | cmyk(79.3%, 50.5%, 0%, 22.4%) |
| CIE-LAB | lab(43.19, 17.89, -57.39) |
| CIE-LCH | lch(43.19, 60.12, 287.32°) |
| OKLab | oklab(51.61% -0.0269 -0.1652) |
| OKLCH | oklch(51.61% 0.167 260.7) |
| XYZ | xyz(15.4715, 13.2822, 55.1634) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.25
French Blue
#436BAD
ΔE00 4.18
Mid Blue
#276AB3
ΔE00 4.46
Azul
#1D5DEC
ΔE00 5.15
Royal Blue
#4169E1
ΔE00 5.27
Medium Blue
#2C6FBB
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2962C6 #C68D29
analogous
#29B0C6 #2962C6 #3F29C6
triadic
#2962C6 #C62962 #62C629
tetradic
#2962C6 #C629B0 #C68D29 #29C63F
square
#2962C6 #C629B0 #C68D29 #29C63F
split-complementary
#2962C6 #C63F29 #B0C629
monochromatic
#143061 #1F4993 #2962C6 #5183DB #84A7E6
Accessibility & contrast
On white
5.74
#2962C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2962C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2962C6
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2962C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2962C6 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226ECA
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#007A8B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2962c6; /* rgb */ color: rgb(41, 98, 198); /* oklch */ color: oklch(51.6% 0.167 260.7);
Tailwind
colors: {
custom: {
50: '#7b8ed8',
500: '#2962c6',
950: '#000000',
},
}SCSS
$custom: #2962c6; $custom-light: #7b8ed8; $custom-dark: #000000;
JSON
{
"hex": "#2962c6",
"rgb": {
"r": 41,
"g": 98,
"b": 198
},
"hsl": {
"h": 218.217,
"s": 65.69,
"l": 46.863
},
"oklch": {
"l": 0.51614,
"c": 0.1674,
"h": 260.7
},
"luminance": 0.13284
}Semantic roles & 50–950 ramp
primary
#2962C6
secondary
#CFB17C
accent
#AB3FE9
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83