#2F41A1#2F41A1
#2F41A1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.1% C 0.156 H 270.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41A1 |
|---|---|
| RGB | rgb(47, 65, 161) |
| HSL | hsl(231, 55%, 41%) |
| HSV | hsv(231, 71%, 63%) |
| CMYK | cmyk(70.8%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(31.71, 26.34, -54.16) |
| CIE-LCH | lch(31.71, 60.23, 295.94°) |
| OKLab | oklab(42.15% 0.0005 -0.1562) |
| OKLCH | oklch(42.15% 0.156 270.2) |
| XYZ | xyz(9.4934, 6.9572, 34.5539) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.36
Blue Blue
#2242C7
ΔE00 5.12
Cobalt (survey)
#1E488F
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41A1 #A18F2F
analogous
#2F7AA1 #2F41A1 #562FA1
triadic
#2F41A1 #A12F41 #41A12F
tetradic
#2F41A1 #A12F7A #A18F2F #2FA156
square
#2F41A1 #A12F7A #A18F2F #2FA156
split-complementary
#2F41A1 #A1562F #7AA12F
monochromatic
#131B42 #212E72 #2F41A1 #4559C9 #7484D6
Accessibility & contrast
On white
8.78
#2F41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2F41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41A1
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41A1 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00469F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f41a1; /* rgb */ color: rgb(47, 65, 161); /* oklch */ color: oklch(42.1% 0.156 270.2);
Tailwind
colors: {
custom: {
50: '#7775be',
500: '#2f41a1',
950: '#000000',
},
}SCSS
$custom: #2f41a1; $custom-light: #7775be; $custom-dark: #000000;
JSON
{
"hex": "#2f41a1",
"rgb": {
"r": 47,
"g": 65,
"b": 161
},
"hsl": {
"h": 230.526,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.42148,
"c": 0.15616,
"h": 270.2
},
"luminance": 0.06958
}Semantic roles & 50–950 ramp
primary
#2F41A1
secondary
#BEB16E
accent
#C74ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81