#2946AF#2946AF
#2946AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.171 H 267.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2946AF |
|---|---|
| RGB | rgb(41, 70, 175) |
| HSL | hsl(227, 62%, 42%) |
| HSV | hsv(227, 77%, 69%) |
| CMYK | cmyk(76.6%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(33.87, 27.52, -59.04) |
| CIE-LCH | lch(33.87, 65.14, 294.99°) |
| OKLab | oklab(44.03% -0.0087 -0.1705) |
| OKLCH | oklch(44.03% 0.171 267.1) |
| XYZ | xyz(10.8398, 7.9457, 41.5115) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Blue Blue
#2242C7
ΔE00 3.54
Sapphire (survey)
#2138AB
ΔE00 4.22
Sapphire
#0F52BA
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2946AF #AF9229
analogous
#2989AF #2946AF #4F29AF
triadic
#2946AF #AF2946 #46AF29
tetradic
#2946AF #AF2989 #AF9229 #29AF4F
square
#2946AF #AF2989 #AF9229 #29AF4F
split-complementary
#2946AF #AF4F29 #89AF29
monochromatic
#121E4C #1D327D #2946AF #4262D3 #748BDE
Accessibility & contrast
On white
8.11
#2946AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2946AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2946AF
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2946AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2946AF | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2946af; /* rgb */ color: rgb(41, 70, 175); /* oklch */ color: oklch(44.0% 0.171 267.1);
Tailwind
colors: {
custom: {
50: '#7779c8',
500: '#2946af',
950: '#000000',
},
}SCSS
$custom: #2946af; $custom-light: #7779c8; $custom-dark: #000000;
JSON
{
"hex": "#2946af",
"rgb": {
"r": 41,
"g": 70,
"b": 175
},
"hsl": {
"h": 227.015,
"s": 62.037,
"l": 42.353
},
"oklch": {
"l": 0.44033,
"c": 0.17076,
"h": 267.1
},
"luminance": 0.07947
}Semantic roles & 50–950 ramp
primary
#2946AF
secondary
#C6B36E
accent
#C243E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82