#2F3A86#2F3A86
#2F3A86 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.127 H 272.8°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3A86 |
|---|---|
| RGB | rgb(47, 58, 134) |
| HSL | hsl(232, 48%, 35%) |
| HSV | hsv(232, 65%, 53%) |
| CMYK | cmyk(64.9%, 56.7%, 0%, 47.5%) |
| CIE-LAB | lab(27.71, 21.04, -44.11) |
| CIE-LCH | lch(27.71, 48.87, 295.50°) |
| OKLab | oklab(38.5% 0.0061 -0.1267) |
| OKLCH | oklch(38.5% 0.127 272.8) |
| XYZ | xyz(6.9870, 5.3511, 23.2143) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.54
Darkslateblue
#483D8B
ΔE00 4.67
Sapphire (survey)
#2138AB
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.35
Darkish Blue
#014182
ΔE00 6.91
Cobalt
#0047AB
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3A86 #867B2F
analogous
#2F6586 #2F3A86 #4F2F86
triadic
#2F3A86 #862F3A #3A862F
tetradic
#2F3A86 #862F65 #867B2F #2F864F
square
#2F3A86 #862F65 #867B2F #2F864F
split-complementary
#2F3A86 #864F2F #65862F
monochromatic
#0F132B #1F2659 #2F3A86 #3F4EB3 #6673C9
Accessibility & contrast
On white
10.14
#2F3A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2F3A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3A86
10.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3A86 | 1.00 | 10.14 | 2.07 | 10.14 |
| #FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#004C5A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2f3a86; /* rgb */ color: rgb(47, 58, 134); /* oklch */ color: oklch(38.5% 0.127 272.8);
Tailwind
colors: {
custom: {
50: '#7170aa',
500: '#2f3a86',
950: '#000000',
},
}SCSS
$custom: #2f3a86; $custom-light: #7170aa; $custom-dark: #000000;
JSON
{
"hex": "#2f3a86",
"rgb": {
"r": 47,
"g": 58,
"b": 134
},
"hsl": {
"h": 232.414,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.38497,
"c": 0.12685,
"h": 272.8
},
"luminance": 0.05352
}Semantic roles & 50–950 ramp
primary
#2F3A86
secondary
#B0A660
accent
#C750D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F