#2F41B3#2F41B3
#2F41B3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.181 H 270.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B3 |
|---|---|
| RGB | rgb(47, 65, 179) |
| HSL | hsl(232, 58%, 44%) |
| HSV | hsv(232, 74%, 70%) |
| CMYK | cmyk(73.7%, 63.7%, 0%, 29.8%) |
| CIE-LAB | lab(33.22, 32.96, -62.47) |
| CIE-LCH | lch(33.22, 70.63, 297.82°) |
| OKLab | oklab(43.73% 0.0002 -0.1805) |
| OKLCH | oklch(43.73% 0.181 270.1) |
| XYZ | xyz(11.1965, 7.6384, 43.5234) |
| Luminance | 0.0764 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.63
Sapphire (survey)
#2138AB
ΔE00 2.86
Ocean Blue
#4F42B5
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.90
Blueberry
#464196
ΔE00 5.45
Blue (survey)
#0343DF
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B3 #B3A12F
analogous
#2F83B3 #2F41B3 #5F2FB3
triadic
#2F41B3 #B32F41 #41B32F
tetradic
#2F41B3 #B32F83 #B3A12F #2FB35F
square
#2F41B3 #B32F83 #B3A12F #2FB35F
split-complementary
#2F41B3 #B35F2F #83B32F
monochromatic
#161E52 #222F83 #2F41B3 #4F60D1 #7F8CDD
Accessibility & contrast
On white
8.31
#2F41B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#2F41B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B3
8.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B3 | 1.00 | 8.31 | 2.53 | 8.31 |
| #FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f41b3; /* rgb */ color: rgb(47, 65, 179); /* oklch */ color: oklch(43.7% 0.181 270.1);
Tailwind
colors: {
custom: {
50: '#7b75cb',
500: '#2f41b3',
950: '#000000',
},
}SCSS
$custom: #2f41b3; $custom-light: #7b75cb; $custom-dark: #000000;
JSON
{
"hex": "#2f41b3",
"rgb": {
"r": 47,
"g": 65,
"b": 179
},
"hsl": {
"h": 231.818,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.43733,
"c": 0.18053,
"h": 270.1
},
"luminance": 0.0764
}Semantic roles & 50–950 ramp
primary
#2F41B3
secondary
#C6BB78
accent
#CC46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82