#2F3AB2#2F3AB2
#2F3AB2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.187 H 271.4°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3AB2 |
|---|---|
| RGB | rgb(47, 58, 178) |
| HSL | hsl(235, 58%, 44%) |
| HSV | hsv(235, 74%, 70%) |
| CMYK | cmyk(73.6%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(31.45, 37.05, -64.78) |
| CIE-LCH | lch(31.45, 74.62, 299.77°) |
| OKLab | oklab(42.41% 0.0047 -0.1873) |
| OKLCH | oklch(42.41% 0.187 271.4) |
| XYZ | xyz(10.7185, 6.8437, 42.8669) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.77
Blue Blue
#2242C7
ΔE00 3.61
Ocean Blue
#4F42B5
ΔE00 4.45
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Blueberry
#464196
ΔE00 5.59
Blue (survey)
#0343DF
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3AB2 #B2A72F
analogous
#2F7CB2 #2F3AB2 #662FB2
triadic
#2F3AB2 #B22F3A #3AB22F
tetradic
#2F3AB2 #B22F7C #B2A72F #2FB266
square
#2F3AB2 #B22F7C #B2A72F #2FB266
split-complementary
#2F3AB2 #B2662F #7CB22F
monochromatic
#151A51 #222A82 #2F3AB2 #4E59D0 #7E86DD
Accessibility & contrast
On white
8.86
#2F3AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2F3AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3AB2
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3AB2 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2f3ab2; /* rgb */ color: rgb(47, 58, 178); /* oklch */ color: oklch(42.4% 0.187 271.4);
Tailwind
colors: {
custom: {
50: '#7b70ca',
500: '#2f3ab2',
950: '#000000',
},
}SCSS
$custom: #2f3ab2; $custom-light: #7b70ca; $custom-dark: #000000;
JSON
{
"hex": "#2f3ab2",
"rgb": {
"r": 47,
"g": 58,
"b": 178
},
"hsl": {
"h": 234.962,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.42411,
"c": 0.18739,
"h": 271.4
},
"luminance": 0.06845
}Semantic roles & 50–950 ramp
primary
#2F3AB2
secondary
#C6BF77
accent
#D446E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82