#2F46A4#2F46A4
#2F46A4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.154 H 268.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A4 |
|---|---|
| RGB | rgb(47, 70, 164) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 64%) |
| CMYK | cmyk(71.3%, 57.3%, 0%, 35.7%) |
| CIE-LAB | lab(33.27, 24.14, -53.42) |
| CIE-LCH | lch(33.27, 58.62, 294.31°) |
| OKLab | oklab(43.39% -0.0035 -0.1539) |
| OKLCH | oklch(43.39% 0.154 268.7) |
| XYZ | xyz(10.0610, 7.6640, 36.0638) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.34
Sapphire (survey)
#2138AB
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 4.65
Blue Blue
#2242C7
ΔE00 4.98
Blueberry
#464196
ΔE00 4.99
Sapphire
#0F52BA
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A4 #A48D2F
analogous
#2F81A4 #2F46A4 #532FA4
triadic
#2F46A4 #A42F46 #46A42F
tetradic
#2F46A4 #A42F81 #A48D2F #2FA453
square
#2F46A4 #A42F81 #A48D2F #2FA453
split-complementary
#2F46A4 #A4532F #81A42F
monochromatic
#141D45 #213274 #2F46A4 #4660CA #7689D8
Accessibility & contrast
On white
8.29
#2F46A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F46A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A4
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A4 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f46a4; /* rgb */ color: rgb(47, 70, 164); /* oklch */ color: oklch(43.4% 0.154 268.7);
Tailwind
colors: {
custom: {
50: '#7779c0',
500: '#2f46a4',
950: '#000000',
},
}SCSS
$custom: #2f46a4; $custom-light: #7779c0; $custom-dark: #000000;
JSON
{
"hex": "#2f46a4",
"rgb": {
"r": 47,
"g": 70,
"b": 164
},
"hsl": {
"h": 228.205,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.4339,
"c": 0.15396,
"h": 268.7
},
"luminance": 0.07665
}Semantic roles & 50–950 ramp
primary
#2F46A4
secondary
#C0B06F
accent
#C149DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81