#2F46A2#2F46A2
#2F46A2 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.151 H 268.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A2 |
|---|---|
| RGB | rgb(47, 70, 162) |
| HSL | hsl(228, 55%, 41%) |
| HSV | hsv(228, 71%, 64%) |
| CMYK | cmyk(71%, 56.8%, 0%, 36.5%) |
| CIE-LAB | lab(33.12, 23.39, -52.47) |
| CIE-LCH | lch(33.12, 57.45, 294.02°) |
| OKLab | oklab(43.23% -0.0036 -0.1511) |
| OKLCH | oklch(43.23% 0.151 268.6) |
| XYZ | xyz(9.8818, 7.5923, 35.1201) |
| Luminance | 0.0759 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.36
Cobalt (survey)
#1E488F
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.63
Blueberry
#464196
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A2 #A28B2F
analogous
#2F7FA2 #2F46A2 #512FA2
triadic
#2F46A2 #A22F46 #46A22F
tetradic
#2F46A2 #A22F7F #A28B2F #2FA251
square
#2F46A2 #A22F7F #A28B2F #2FA251
split-complementary
#2F46A2 #A2512F #7FA22F
monochromatic
#131D43 #213273 #2F46A2 #4560C9 #7588D7
Accessibility & contrast
On white
8.34
#2F46A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2F46A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A2
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A2 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f46a2; /* rgb */ color: rgb(47, 70, 162); /* oklch */ color: oklch(43.2% 0.151 268.6);
Tailwind
colors: {
custom: {
50: '#7779be',
500: '#2f46a2',
950: '#000000',
},
}SCSS
$custom: #2f46a2; $custom-light: #7779be; $custom-dark: #000000;
JSON
{
"hex": "#2f46a2",
"rgb": {
"r": 47,
"g": 70,
"b": 162
},
"hsl": {
"h": 228,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.43226,
"c": 0.15117,
"h": 268.6
},
"luminance": 0.07593
}Semantic roles & 50–950 ramp
primary
#2F46A2
secondary
#BFAF6E
accent
#C149DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81