#2F41A4#2F41A4
#2F41A4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.160 H 270.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41A4 |
|---|---|
| RGB | rgb(47, 65, 164) |
| HSL | hsl(231, 55%, 41%) |
| HSV | hsv(231, 71%, 64%) |
| CMYK | cmyk(71.3%, 60.4%, 0%, 35.7%) |
| CIE-LAB | lab(31.95, 27.45, -55.57) |
| CIE-LCH | lch(31.95, 61.98, 296.29°) |
| OKLab | oklab(42.41% 0.0005 -0.1603) |
| OKLCH | oklch(42.41% 0.16 270.2) |
| XYZ | xyz(9.7611, 7.0643, 35.9639) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Blueberry
#464196
ΔE00 4.31
Cobalt
#0047AB
ΔE00 4.36
Blue Blue
#2242C7
ΔE00 4.68
Ocean Blue
#4F42B5
ΔE00 5.50
Cobalt (survey)
#1E488F
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41A4 #A4922F
analogous
#2F7CA4 #2F41A4 #582FA4
triadic
#2F41A4 #A42F41 #41A42F
tetradic
#2F41A4 #A42F7C #A4922F #2FA458
square
#2F41A4 #A42F7C #A4922F #2FA458
split-complementary
#2F41A4 #A4582F #7CA42F
monochromatic
#141B45 #212E74 #2F41A4 #465ACA #7685D8
Accessibility & contrast
On white
8.70
#2F41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F41A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41A4
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41A4 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f41a4; /* rgb */ color: rgb(47, 65, 164); /* oklch */ color: oklch(42.4% 0.160 270.2);
Tailwind
colors: {
custom: {
50: '#7775c0',
500: '#2f41a4',
950: '#000000',
},
}SCSS
$custom: #2f41a4; $custom-light: #7775c0; $custom-dark: #000000;
JSON
{
"hex": "#2f41a4",
"rgb": {
"r": 47,
"g": 65,
"b": 164
},
"hsl": {
"h": 230.769,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.42405,
"c": 0.1603,
"h": 270.2
},
"luminance": 0.07065
}Semantic roles & 50–950 ramp
primary
#2F41A4
secondary
#C0B36F
accent
#C849DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81