#2F3CB5#2F3CB5
#2F3CB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.189 H 271.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB5 |
|---|---|
| RGB | rgb(47, 60, 181) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 71%) |
| CMYK | cmyk(74%, 66.9%, 0%, 29%) |
| CIE-LAB | lab(32.19, 36.86, -65.33) |
| CIE-LCH | lch(32.19, 75.01, 299.43°) |
| OKLab | oklab(43.04% 0.0033 -0.1889) |
| OKLCH | oklch(43.04% 0.189 271) |
| XYZ | xyz(11.1258, 7.1711, 44.5049) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.17
Blue Blue
#2242C7
ΔE00 2.97
Ocean Blue
#4F42B5
ΔE00 4.24
Blue With A Hint Of Purple
#533CC6
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.60
Blueberry
#464196
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB5 #B5A82F
analogous
#2F7FB5 #2F3CB5 #652FB5
triadic
#2F3CB5 #B52F3C #3CB52F
tetradic
#2F3CB5 #B52F7F #B5A82F #2FB565
square
#2F3CB5 #B52F7F #B5A82F #2FB565
split-complementary
#2F3CB5 #B5652F #7FB52F
monochromatic
#161C54 #222C84 #2F3CB5 #505CD1 #8089DE
Accessibility & contrast
On white
8.63
#2F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F3CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB5
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB5 | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3cb5; /* rgb */ color: rgb(47, 60, 181); /* oklch */ color: oklch(43.0% 0.189 271.0);
Tailwind
colors: {
custom: {
50: '#7c72cc',
500: '#2f3cb5',
950: '#000000',
},
}SCSS
$custom: #2f3cb5; $custom-light: #7c72cc; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb5",
"rgb": {
"r": 47,
"g": 60,
"b": 181
},
"hsl": {
"h": 234.179,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.43037,
"c": 0.18898,
"h": 271
},
"luminance": 0.07172
}Semantic roles & 50–950 ramp
primary
#2F3CB5
secondary
#C7BF79
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82