#2F41A9#2F41A9
#2F41A9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.167 H 270.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41A9 |
|---|---|
| RGB | rgb(47, 65, 169) |
| HSL | hsl(231, 56%, 42%) |
| HSV | hsv(231, 72%, 66%) |
| CMYK | cmyk(72.2%, 61.5%, 0%, 33.7%) |
| CIE-LAB | lab(32.37, 29.30, -57.90) |
| CIE-LCH | lch(32.37, 64.89, 296.84°) |
| OKLab | oklab(42.84% 0.0005 -0.1671) |
| OKLCH | oklch(42.84% 0.167 270.2) |
| XYZ | xyz(10.2216, 7.2485, 38.3888) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.73
Blue Blue
#2242C7
ΔE00 3.97
Cobalt
#0047AB
ΔE00 4.44
Blueberry
#464196
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.05
Cobalt (survey)
#1E488F
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41A9 #A9972F
analogous
#2F7EA9 #2F41A9 #5A2FA9
triadic
#2F41A9 #A92F41 #41A92F
tetradic
#2F41A9 #A92F7E #A9972F #2FA95A
square
#2F41A9 #A92F7E #A9972F #2FA95A
split-complementary
#2F41A9 #A95A2F #7EA92F
monochromatic
#141C49 #222F79 #2F41A9 #495CCC #7987DA
Accessibility & contrast
On white
8.57
#2F41A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#2F41A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41A9
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41A9 | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f41a9; /* rgb */ color: rgb(47, 65, 169); /* oklch */ color: oklch(42.8% 0.167 270.2);
Tailwind
colors: {
custom: {
50: '#7975c3',
500: '#2f41a9',
950: '#000000',
},
}SCSS
$custom: #2f41a9; $custom-light: #7975c3; $custom-dark: #000000;
JSON
{
"hex": "#2f41a9",
"rgb": {
"r": 47,
"g": 65,
"b": 169
},
"hsl": {
"h": 231.148,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.4284,
"c": 0.16714,
"h": 270.2
},
"luminance": 0.0725
}Semantic roles & 50–950 ramp
primary
#2F41A9
secondary
#C2B672
accent
#C948E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82