#2F41AA#2F41AA
#2F41AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.9% C 0.168 H 270.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F41AA |
|---|---|
| RGB | rgb(47, 65, 170) |
| HSL | hsl(231, 57%, 43%) |
| HSV | hsv(231, 72%, 67%) |
| CMYK | cmyk(72.4%, 61.8%, 0%, 33.3%) |
| CIE-LAB | lab(32.45, 29.67, -58.36) |
| CIE-LCH | lch(32.45, 65.47, 296.94°) |
| OKLab | oklab(42.93% 0.0005 -0.1685) |
| OKLCH | oklch(42.93% 0.168 270.2) |
| XYZ | xyz(10.3158, 7.2862, 38.8851) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.71
Blue Blue
#2242C7
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.47
Blueberry
#464196
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 4.97
Cobalt (survey)
#1E488F
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F41AA #AA982F
analogous
#2F7EAA #2F41AA #5B2FAA
triadic
#2F41AA #AA2F41 #41AA2F
tetradic
#2F41AA #AA2F7E #AA982F #2FAA5B
square
#2F41AA #AA2F7E #AA982F #2FAA5B
split-complementary
#2F41AA #AA5B2F #7EAA2F
monochromatic
#141C4A #222F7A #2F41AA #495DCD #7988DA
Accessibility & contrast
On white
8.55
#2F41AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#2F41AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F41AA
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F41AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F41AA | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f41aa; /* rgb */ color: rgb(47, 65, 170); /* oklch */ color: oklch(42.9% 0.168 270.2);
Tailwind
colors: {
custom: {
50: '#7975c4',
500: '#2f41aa',
950: '#000000',
},
}SCSS
$custom: #2f41aa; $custom-light: #7975c4; $custom-dark: #000000;
JSON
{
"hex": "#2f41aa",
"rgb": {
"r": 47,
"g": 65,
"b": 170
},
"hsl": {
"h": 231.22,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.42928,
"c": 0.16849,
"h": 270.2
},
"luminance": 0.07287
}Semantic roles & 50–950 ramp
primary
#2F41AA
secondary
#C2B772
accent
#CA48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82