#2F41B6#2F41B6
#2F41B6 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.184 H 270.0°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B6 |
|---|---|
| RGB | rgb(47, 65, 182) |
| HSL | hsl(232, 59%, 45%) |
| HSV | hsv(232, 74%, 71%) |
| CMYK | cmyk(74.2%, 64.3%, 0%, 28.6%) |
| CIE-LAB | lab(33.48, 34.05, -63.82) |
| CIE-LCH | lch(33.48, 72.33, 298.08°) |
| OKLab | oklab(44.01% 0.0001 -0.1845) |
| OKLCH | oklch(44.01% 0.184 270) |
| XYZ | xyz(11.5032, 7.7611, 45.1387) |
| Luminance | 0.0776 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.25
Sapphire (survey)
#2138AB
ΔE00 3.04
Ocean Blue
#4F42B5
ΔE00 4.28
Blue (survey)
#0343DF
ΔE00 5.08
Cobalt
#0047AB
ΔE00 5.10
Blueberry
#464196
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B6 #B6A42F
analogous
#2F85B6 #2F41B6 #612FB6
triadic
#2F41B6 #B62F41 #41B62F
tetradic
#2F41B6 #B62F85 #B6A42F #2FB661
square
#2F41B6 #B62F85 #B6A42F #2FB661
split-complementary
#2F41B6 #B6612F #85B62F
monochromatic
#161E55 #223085 #2F41B6 #5062D2 #818DDE
Accessibility & contrast
On white
8.23
#2F41B6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2F41B6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B6
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B6 | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2f41b6; /* rgb */ color: rgb(47, 65, 182); /* oklch */ color: oklch(44.0% 0.184 270.0);
Tailwind
colors: {
custom: {
50: '#7c75cd',
500: '#2f41b6',
950: '#000000',
},
}SCSS
$custom: #2f41b6; $custom-light: #7c75cd; $custom-dark: #000000;
JSON
{
"hex": "#2f41b6",
"rgb": {
"r": 47,
"g": 65,
"b": 182
},
"hsl": {
"h": 232,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.44006,
"c": 0.18448,
"h": 270
},
"luminance": 0.07762
}Semantic roles & 50–950 ramp
primary
#2F41B6
secondary
#C7BD79
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82