#2F41A2#2F41A2
#2F41A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.158 H 270.2°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41A2 |
|---|---|
| RGB | rgb(47, 65, 162) |
| HSL | hsl(231, 55%, 41%) |
| HSV | hsv(231, 71%, 64%) |
| CMYK | cmyk(71%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.79, 26.71, -54.63) |
| CIE-LCH | lch(31.79, 60.82, 296.06°) |
| OKLab | oklab(42.23% 0.0005 -0.1575) |
| OKLCH | oklch(42.23% 0.158 270.2) |
| XYZ | xyz(9.5819, 6.9926, 35.0201) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Blueberry
#464196
ΔE00 4.21
Cobalt
#0047AB
ΔE00 4.36
Blue Blue
#2242C7
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41A2 #A2902F
analogous
#2F7AA2 #2F41A2 #562FA2
triadic
#2F41A2 #A22F41 #41A22F
tetradic
#2F41A2 #A22F7A #A2902F #2FA256
square
#2F41A2 #A22F7A #A2902F #2FA256
split-complementary
#2F41A2 #A2562F #7AA22F
monochromatic
#131B43 #212E73 #2F41A2 #455AC9 #7584D7
Accessibility & contrast
On white
8.75
#2F41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2F41A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41A2
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41A2 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0046A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f41a2; /* rgb */ color: rgb(47, 65, 162); /* oklch */ color: oklch(42.2% 0.158 270.2);
Tailwind
colors: {
custom: {
50: '#7775be',
500: '#2f41a2',
950: '#000000',
},
}SCSS
$custom: #2f41a2; $custom-light: #7775be; $custom-dark: #000000;
JSON
{
"hex": "#2f41a2",
"rgb": {
"r": 47,
"g": 65,
"b": 162
},
"hsl": {
"h": 230.609,
"s": 55.024,
"l": 40.98
},
"oklch": {
"l": 0.42233,
"c": 0.15754,
"h": 270.2
},
"luminance": 0.06994
}Semantic roles & 50–950 ramp
primary
#2F41A2
secondary
#BFB26E
accent
#C749DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81