#2F41B0#2F41B0
#2F41B0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.177 H 270.1°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B0 |
|---|---|
| RGB | rgb(47, 65, 176) |
| HSL | hsl(232, 58%, 44%) |
| HSV | hsv(232, 73%, 69%) |
| CMYK | cmyk(73.3%, 63.1%, 0%, 31%) |
| CIE-LAB | lab(32.96, 31.86, -61.11) |
| CIE-LCH | lch(32.96, 68.92, 297.54°) |
| OKLab | oklab(43.46% 0.0003 -0.1766) |
| OKLCH | oklch(43.46% 0.177 270.1) |
| XYZ | xyz(10.8964, 7.5184, 41.9428) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.74
Blue Blue
#2242C7
ΔE00 3.02
Ocean Blue
#4F42B5
ΔE00 4.56
Cobalt
#0047AB
ΔE00 4.73
Blueberry
#464196
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B0 #B09E2F
analogous
#2F81B0 #2F41B0 #5D2FB0
triadic
#2F41B0 #B02F41 #41B02F
tetradic
#2F41B0 #B02F81 #B09E2F #2FB05D
square
#2F41B0 #B02F81 #B09E2F #2FB05D
split-complementary
#2F41B0 #B05D2F #81B02F
monochromatic
#151D4F #222F80 #2F41B0 #4D5FCF #7D8ADC
Accessibility & contrast
On white
8.39
#2F41B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2F41B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B0
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B0 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2f41b0; /* rgb */ color: rgb(47, 65, 176); /* oklch */ color: oklch(43.5% 0.177 270.1);
Tailwind
colors: {
custom: {
50: '#7a75c9',
500: '#2f41b0',
950: '#000000',
},
}SCSS
$custom: #2f41b0; $custom-light: #7a75c9; $custom-dark: #000000;
JSON
{
"hex": "#2f41b0",
"rgb": {
"r": 47,
"g": 65,
"b": 176
},
"hsl": {
"h": 231.628,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.43462,
"c": 0.17655,
"h": 270.1
},
"luminance": 0.0752
}Semantic roles & 50–950 ramp
primary
#2F41B0
secondary
#C5BA76
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82