#2946BA#2946BA
#2946BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.185 H 267.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2946BA |
|---|---|
| RGB | rgb(41, 70, 186) |
| HSL | hsl(228, 64%, 45%) |
| HSV | hsv(228, 78%, 73%) |
| CMYK | cmyk(78%, 62.4%, 0%, 27.1%) |
| CIE-LAB | lab(34.79, 31.65, -64.04) |
| CIE-LCH | lch(34.79, 71.43, 296.30°) |
| OKLab | oklab(45.01% -0.0087 -0.1852) |
| OKLCH | oklch(45.01% 0.185 267.3) |
| XYZ | xyz(11.9644, 8.3955, 47.4348) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.11
Cobalt
#0047AB
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2946BA #BA9D29
analogous
#298FBA #2946BA #5529BA
triadic
#2946BA #BA2946 #46BA29
tetradic
#2946BA #BA298F #BA9D29 #29BA55
square
#2946BA #BA298F #BA9D29 #29BA55
split-complementary
#2946BA #BA5529 #8FBA29
monochromatic
#132056 #1E3388 #2946BA #4966D7 #7B90E2
Accessibility & contrast
On white
7.84
#2946BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2946BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2946BA
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2946BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2946BA | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2946ba; /* rgb */ color: rgb(41, 70, 186); /* oklch */ color: oklch(45.0% 0.185 267.3);
Tailwind
colors: {
custom: {
50: '#7a79d0',
500: '#2946ba',
950: '#000000',
},
}SCSS
$custom: #2946ba; $custom-light: #7a79d0; $custom-dark: #000000;
JSON
{
"hex": "#2946ba",
"rgb": {
"r": 41,
"g": 70,
"b": 186
},
"hsl": {
"h": 228,
"s": 63.877,
"l": 44.51
},
"oklch": {
"l": 0.45006,
"c": 0.18541,
"h": 267.3
},
"luminance": 0.08397
}Semantic roles & 50–950 ramp
primary
#2946BA
secondary
#CAB975
accent
#C641E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82