#2F46A8#2F46A8
#2F46A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.7% C 0.160 H 268.8°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46A8 |
|---|---|
| RGB | rgb(47, 70, 168) |
| HSL | hsl(229, 56%, 42%) |
| HSV | hsv(229, 72%, 66%) |
| CMYK | cmyk(72%, 58.3%, 0%, 34.1%) |
| CIE-LAB | lab(33.59, 25.63, -55.31) |
| CIE-LCH | lch(33.59, 60.96, 294.86°) |
| OKLab | oklab(43.72% -0.0033 -0.1595) |
| OKLCH | oklch(43.72% 0.16 268.8) |
| XYZ | xyz(10.4279, 7.8107, 37.9963) |
| Luminance | 0.0781 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 4.30
Blue Blue
#2242C7
ΔE00 4.40
Cobalt (survey)
#1E488F
ΔE00 5.12
Blueberry
#464196
ΔE00 5.13
Sapphire
#0F52BA
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46A8 #A8912F
analogous
#2F83A8 #2F46A8 #552FA8
triadic
#2F46A8 #A82F46 #46A82F
tetradic
#2F46A8 #A82F83 #A8912F #2FA855
square
#2F46A8 #A82F83 #A8912F #2FA855
split-complementary
#2F46A8 #A8552F #83A82F
monochromatic
#141E48 #223278 #2F46A8 #4861CC #788BD9
Accessibility & contrast
On white
8.20
#2F46A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#2F46A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46A8
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46A8 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f46a8; /* rgb */ color: rgb(47, 70, 168); /* oklch */ color: oklch(43.7% 0.160 268.8);
Tailwind
colors: {
custom: {
50: '#7879c3',
500: '#2f46a8',
950: '#000000',
},
}SCSS
$custom: #2f46a8; $custom-light: #7879c3; $custom-dark: #000000;
JSON
{
"hex": "#2f46a8",
"rgb": {
"r": 47,
"g": 70,
"b": 168
},
"hsl": {
"h": 228.595,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.43722,
"c": 0.15951,
"h": 268.8
},
"luminance": 0.07812
}Semantic roles & 50–950 ramp
primary
#2F46A8
secondary
#C1B271
accent
#C348E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81