#2962BA#2962BA
#2962BA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 50.7% C 0.151 H 259.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2962BA |
|---|---|
| RGB | rgb(41, 98, 186) |
| HSL | hsl(216, 64%, 45%) |
| HSV | hsv(216, 78%, 73%) |
| CMYK | cmyk(78%, 47.3%, 0%, 27.1%) |
| CIE-LAB | lab(42.38, 13.29, -51.72) |
| CIE-LCH | lch(42.38, 53.40, 284.41°) |
| OKLab | oklab(50.74% -0.0287 -0.1485) |
| OKLCH | oklch(50.74% 0.151 259.1) |
| XYZ | xyz(14.1418, 12.7503, 48.1606) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 1.24
Mid Blue
#276AB3
ΔE00 3.55
French Blue
#436BAD
ΔE00 3.70
Medium Blue
#2C6FBB
ΔE00 4.86
Denim (survey)
#3B638C
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2962BA #BA8129
analogous
#29ABBA #2962BA #3929BA
triadic
#2962BA #BA2962 #62BA29
tetradic
#2962BA #BA29AB #BA8129 #29BA39
square
#2962BA #BA29AB #BA8129 #29BA39
split-complementary
#2962BA #BA3929 #ABBA29
monochromatic
#132D56 #1E4888 #2962BA #4981D7 #7BA4E2
Accessibility & contrast
On white
5.91
#2962BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#2962BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2962BA
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2962BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2962BA | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#326BBD
Deuteranopia (green-blind)
#045EB8
Tritanopia (blue-blind)
#007785
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2962ba; /* rgb */ color: rgb(41, 98, 186); /* oklch */ color: oklch(50.7% 0.151 259.1);
Tailwind
colors: {
custom: {
50: '#788ecf',
500: '#2962ba',
950: '#000000',
},
}SCSS
$custom: #2962ba; $custom-light: #788ecf; $custom-dark: #000000;
JSON
{
"hex": "#2962ba",
"rgb": {
"r": 41,
"g": 98,
"b": 186
},
"hsl": {
"h": 216.414,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.50744,
"c": 0.15128,
"h": 259.1
},
"luminance": 0.12752
}Semantic roles & 50–950 ramp
primary
#2962BA
secondary
#CAA975
accent
#A641E7
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0C14
muted
#7C7D82