#2F41B1#2F41B1
#2F41B1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.6% C 0.178 H 270.1°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B1 |
|---|---|
| RGB | rgb(47, 65, 177) |
| HSL | hsl(232, 58%, 44%) |
| HSV | hsv(232, 73%, 69%) |
| CMYK | cmyk(73.4%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(33.05, 32.23, -61.56) |
| CIE-LCH | lch(33.05, 69.49, 297.63°) |
| OKLab | oklab(43.55% 0.0003 -0.1779) |
| OKLCH | oklch(43.55% 0.178 270.1) |
| XYZ | xyz(10.9957, 7.5581, 42.4658) |
| Luminance | 0.0756 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.77
Blue Blue
#2242C7
ΔE00 2.89
Ocean Blue
#4F42B5
ΔE00 4.50
Cobalt
#0047AB
ΔE00 4.78
Blueberry
#464196
ΔE00 5.27
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B1 #B19F2F
analogous
#2F82B1 #2F41B1 #5E2FB1
triadic
#2F41B1 #B12F41 #41B12F
tetradic
#2F41B1 #B12F82 #B19F2F #2FB15E
square
#2F41B1 #B12F82 #B19F2F #2FB15E
split-complementary
#2F41B1 #B15E2F #82B12F
monochromatic
#151D50 #222F81 #2F41B1 #4D5FD0 #7E8BDD
Accessibility & contrast
On white
8.36
#2F41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2F41B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B1
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B1 | 1.00 | 8.36 | 2.51 | 8.36 |
| #FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f41b1; /* rgb */ color: rgb(47, 65, 177); /* oklch */ color: oklch(43.6% 0.178 270.1);
Tailwind
colors: {
custom: {
50: '#7a75c9',
500: '#2f41b1',
950: '#000000',
},
}SCSS
$custom: #2f41b1; $custom-light: #7a75c9; $custom-dark: #000000;
JSON
{
"hex": "#2f41b1",
"rgb": {
"r": 47,
"g": 65,
"b": 177
},
"hsl": {
"h": 231.692,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.43552,
"c": 0.17788,
"h": 270.1
},
"luminance": 0.07559
}Semantic roles & 50–950 ramp
primary
#2F41B1
secondary
#C5BA76
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82