#2F46A9#2F46A9
#2F46A9 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.161 H 268.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A9 |
|---|---|
| RGB | rgb(47, 70, 169) |
| HSL | hsl(229, 56%, 42%) |
| HSV | hsv(229, 72%, 66%) |
| CMYK | cmyk(72.2%, 58.6%, 0%, 33.7%) |
| CIE-LAB | lab(33.66, 26.00, -55.78) |
| CIE-LCH | lch(33.66, 61.55, 294.99°) |
| OKLab | oklab(43.81% -0.0033 -0.1609) |
| OKLCH | oklch(43.81% 0.161 268.8) |
| XYZ | xyz(10.5214, 7.8482, 38.4888) |
| Luminance | 0.0785 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.41
Sapphire (survey)
#2138AB
ΔE00 4.26
Blue Blue
#2242C7
ΔE00 4.26
Blueberry
#464196
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A9 #A9922F
analogous
#2F83A9 #2F46A9 #552FA9
triadic
#2F46A9 #A92F46 #46A92F
tetradic
#2F46A9 #A92F83 #A9922F #2FA955
square
#2F46A9 #A92F83 #A9922F #2FA955
split-complementary
#2F46A9 #A9552F #83A92F
monochromatic
#141E49 #223279 #2F46A9 #4962CC #798BDA
Accessibility & contrast
On white
8.17
#2F46A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2F46A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A9
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A9 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AC
Deuteranopia (green-blind)
#004AA7
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f46a9; /* rgb */ color: rgb(47, 70, 169); /* oklch */ color: oklch(43.8% 0.161 268.8);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2f46a9',
950: '#000000',
},
}SCSS
$custom: #2f46a9; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2f46a9",
"rgb": {
"r": 47,
"g": 70,
"b": 169
},
"hsl": {
"h": 228.689,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.43806,
"c": 0.16089,
"h": 268.8
},
"luminance": 0.07849
}Semantic roles & 50–950 ramp
primary
#2F46A9
secondary
#C2B372
accent
#C348E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82