#2F41B5#2F41B5
#2F41B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.183 H 270.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B5 |
|---|---|
| RGB | rgb(47, 65, 181) |
| HSL | hsl(232, 59%, 45%) |
| HSV | hsv(232, 74%, 71%) |
| CMYK | cmyk(74%, 64.1%, 0%, 29%) |
| CIE-LAB | lab(33.39, 33.68, -63.37) |
| CIE-LCH | lch(33.39, 71.76, 297.99°) |
| OKLab | oklab(43.92% 0.0001 -0.1832) |
| OKLCH | oklch(43.92% 0.183 270) |
| XYZ | xyz(11.4002, 7.7199, 44.5964) |
| Luminance | 0.0772 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.37
Sapphire (survey)
#2138AB
ΔE00 2.97
Ocean Blue
#4F42B5
ΔE00 4.32
Cobalt
#0047AB
ΔE00 5.03
Blue (survey)
#0343DF
ΔE00 5.21
Blueberry
#464196
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B5 #B5A32F
analogous
#2F84B5 #2F41B5 #602FB5
triadic
#2F41B5 #B52F41 #41B52F
tetradic
#2F41B5 #B52F84 #B5A32F #2FB560
square
#2F41B5 #B52F84 #B5A32F #2FB560
split-complementary
#2F41B5 #B5602F #84B52F
monochromatic
#161E54 #223084 #2F41B5 #5061D1 #808DDE
Accessibility & contrast
On white
8.25
#2F41B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F41B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B5
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B5 | 1.00 | 8.25 | 2.54 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f41b5; /* rgb */ color: rgb(47, 65, 181); /* oklch */ color: oklch(43.9% 0.183 270.0);
Tailwind
colors: {
custom: {
50: '#7b75cc',
500: '#2f41b5',
950: '#000000',
},
}SCSS
$custom: #2f41b5; $custom-light: #7b75cc; $custom-dark: #000000;
JSON
{
"hex": "#2f41b5",
"rgb": {
"r": 47,
"g": 65,
"b": 181
},
"hsl": {
"h": 231.94,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.43915,
"c": 0.18317,
"h": 270
},
"luminance": 0.07721
}Semantic roles & 50–950 ramp
primary
#2F41B5
secondary
#C7BD79
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82