#2F46AB#2F46AB
#2F46AB is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.0% C 0.164 H 268.9°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F46AB |
|---|---|
| RGB | rgb(47, 70, 171) |
| HSL | hsl(229, 57%, 43%) |
| HSV | hsv(229, 73%, 67%) |
| CMYK | cmyk(72.5%, 59.1%, 0%, 32.9%) |
| CIE-LAB | lab(33.82, 26.75, -56.72) |
| CIE-LCH | lch(33.82, 62.71, 295.25°) |
| OKLab | oklab(43.97% -0.0033 -0.1636) |
| OKLCH | oklch(43.97% 0.164 268.9) |
| XYZ | xyz(10.7106, 7.9238, 39.4852) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.48
Blue Blue
#2242C7
ΔE00 3.98
Sapphire (survey)
#2138AB
ΔE00 4.20
Blueberry
#464196
ΔE00 5.29
Sapphire
#0F52BA
ΔE00 5.36
Cobalt (survey)
#1E488F
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F46AB #AB942F
analogous
#2F84AB #2F46AB #562FAB
triadic
#2F46AB #AB2F46 #46AB2F
tetradic
#2F46AB #AB2F84 #AB942F #2FAB56
square
#2F46AB #AB2F84 #AB942F #2FAB56
split-complementary
#2F46AB #AB562F #84AB2F
monochromatic
#151F4B #22327B #2F46AB #4A62CD #7A8CDA
Accessibility & contrast
On white
8.12
#2F46AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#2F46AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F46AB
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F46AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F46AB | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2f46ab; /* rgb */ color: rgb(47, 70, 171); /* oklch */ color: oklch(44.0% 0.164 268.9);
Tailwind
colors: {
custom: {
50: '#7979c5',
500: '#2f46ab',
950: '#000000',
},
}SCSS
$custom: #2f46ab; $custom-light: #7979c5; $custom-dark: #000000;
JSON
{
"hex": "#2f46ab",
"rgb": {
"r": 47,
"g": 70,
"b": 171
},
"hsl": {
"h": 228.871,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.43974,
"c": 0.16364,
"h": 268.9
},
"luminance": 0.07925
}Semantic roles & 50–950 ramp
primary
#2F46AB
secondary
#C3B473
accent
#C448E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82