#2F41B4#2F41B4
#2F41B4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.182 H 270.1°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41B4 |
|---|---|
| RGB | rgb(47, 65, 180) |
| HSL | hsl(232, 59%, 45%) |
| HSV | hsv(232, 74%, 71%) |
| CMYK | cmyk(73.9%, 63.9%, 0%, 29.4%) |
| CIE-LAB | lab(33.31, 33.32, -62.92) |
| CIE-LCH | lch(33.31, 71.20, 297.90°) |
| OKLab | oklab(43.82% 0.0002 -0.1819) |
| OKLCH | oklch(43.82% 0.182 270.1) |
| XYZ | xyz(11.2980, 7.6790, 44.0579) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.50
Sapphire (survey)
#2138AB
ΔE00 2.91
Ocean Blue
#4F42B5
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.96
Blue (survey)
#0343DF
ΔE00 5.33
Blueberry
#464196
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41B4 #B4A22F
analogous
#2F83B4 #2F41B4 #602FB4
triadic
#2F41B4 #B42F41 #41B42F
tetradic
#2F41B4 #B42F83 #B4A22F #2FB460
square
#2F41B4 #B42F83 #B4A22F #2FB460
split-complementary
#2F41B4 #B4602F #83B42F
monochromatic
#161E53 #222F83 #2F41B4 #4F61D1 #808CDE
Accessibility & contrast
On white
8.28
#2F41B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2F41B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41B4
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41B4 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2f41b4; /* rgb */ color: rgb(47, 65, 180); /* oklch */ color: oklch(43.8% 0.182 270.1);
Tailwind
colors: {
custom: {
50: '#7b75cb',
500: '#2f41b4',
950: '#000000',
},
}SCSS
$custom: #2f41b4; $custom-light: #7b75cb; $custom-dark: #000000;
JSON
{
"hex": "#2f41b4",
"rgb": {
"r": 47,
"g": 65,
"b": 180
},
"hsl": {
"h": 231.88,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.43824,
"c": 0.18185,
"h": 270.1
},
"luminance": 0.0768
}Semantic roles & 50–950 ramp
primary
#2F41B4
secondary
#C7BC78
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82