#2F46AA#2F46AA
#2F46AA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.162 H 268.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46AA |
|---|---|
| RGB | rgb(47, 70, 170) |
| HSL | hsl(229, 57%, 43%) |
| HSV | hsv(229, 72%, 67%) |
| CMYK | cmyk(72.4%, 58.8%, 0%, 33.3%) |
| CIE-LAB | lab(33.74, 26.38, -56.25) |
| CIE-LCH | lch(33.74, 62.13, 295.12°) |
| OKLab | oklab(43.89% -0.0033 -0.1622) |
| OKLCH | oklch(43.89% 0.162 268.8) |
| XYZ | xyz(10.6156, 7.8858, 38.9851) |
| Luminance | 0.0789 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.44
Blue Blue
#2242C7
ΔE00 4.12
Sapphire (survey)
#2138AB
ΔE00 4.23
Blueberry
#464196
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 5.36
Sapphire
#0F52BA
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46AA #AA932F
analogous
#2F84AA #2F46AA #552FAA
triadic
#2F46AA #AA2F46 #46AA2F
tetradic
#2F46AA #AA2F84 #AA932F #2FAA55
square
#2F46AA #AA2F84 #AA932F #2FAA55
split-complementary
#2F46AA #AA552F #84AA2F
monochromatic
#141F4A #22327A #2F46AA #4962CD #798BDA
Accessibility & contrast
On white
8.15
#2F46AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2F46AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46AA
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46AA | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004AA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f46aa; /* rgb */ color: rgb(47, 70, 170); /* oklch */ color: oklch(43.9% 0.162 268.8);
Tailwind
colors: {
custom: {
50: '#7879c4',
500: '#2f46aa',
950: '#000000',
},
}SCSS
$custom: #2f46aa; $custom-light: #7879c4; $custom-dark: #000000;
JSON
{
"hex": "#2f46aa",
"rgb": {
"r": 47,
"g": 70,
"b": 170
},
"hsl": {
"h": 228.78,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.4389,
"c": 0.16227,
"h": 268.8
},
"luminance": 0.07887
}Semantic roles & 50–950 ramp
primary
#2F46AA
secondary
#C2B372
accent
#C448E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82