#2F3D86#2F3D86
#2F3D86 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.123 H 271.4°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3D86 |
|---|---|
| RGB | rgb(47, 61, 134) |
| HSL | hsl(230, 48%, 35%) |
| HSV | hsv(230, 65%, 53%) |
| CMYK | cmyk(64.9%, 54.5%, 0%, 47.5%) |
| CIE-LAB | lab(28.54, 19.00, -42.77) |
| CIE-LCH | lch(28.54, 46.80, 293.95°) |
| OKLab | oklab(39.12% 0.0031 -0.1227) |
| OKLCH | oklch(39.12% 0.123 271.4) |
| XYZ | xyz(7.1427, 5.6624, 23.2662) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.66
Darkslateblue
#483D8B
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 6.11
Darkish Blue
#014182
ΔE00 6.16
Cobalt
#0047AB
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3D86 #86782F
analogous
#2F6886 #2F3D86 #4C2F86
triadic
#2F3D86 #862F3D #3D862F
tetradic
#2F3D86 #862F68 #86782F #2F864C
square
#2F3D86 #862F68 #86782F #2F864C
split-complementary
#2F3D86 #864C2F #68862F
monochromatic
#0F142B #1F2859 #2F3D86 #3F52B3 #6676C9
Accessibility & contrast
On white
9.85
#2F3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2F3D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3D86
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3D86 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4789
Deuteranopia (green-blind)
#004085
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2f3d86; /* rgb */ color: rgb(47, 61, 134); /* oklch */ color: oklch(39.1% 0.123 271.4);
Tailwind
colors: {
custom: {
50: '#7172aa',
500: '#2f3d86',
950: '#000000',
},
}SCSS
$custom: #2f3d86; $custom-light: #7172aa; $custom-dark: #000000;
JSON
{
"hex": "#2f3d86",
"rgb": {
"r": 47,
"g": 61,
"b": 134
},
"hsl": {
"h": 230.345,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.39122,
"c": 0.12274,
"h": 271.4
},
"luminance": 0.05663
}Semantic roles & 50–950 ramp
primary
#2F3D86
secondary
#B0A360
accent
#C250D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F