#2F3CB4#2F3CB4
#2F3CB4 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.188 H 271.0°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB4 |
|---|---|
| RGB | rgb(47, 60, 180) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 71%) |
| CMYK | cmyk(73.9%, 66.7%, 0%, 29.4%) |
| CIE-LAB | lab(32.10, 36.50, -64.89) |
| CIE-LCH | lch(32.10, 74.45, 299.36°) |
| OKLab | oklab(42.94% 0.0033 -0.1877) |
| OKLCH | oklch(42.94% 0.188 271) |
| XYZ | xyz(11.0236, 7.1302, 43.9665) |
| Luminance | 0.0713 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.07
Blue Blue
#2242C7
ΔE00 3.07
Ocean Blue
#4F42B5
ΔE00 4.27
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Blueberry
#464196
ΔE00 5.64
Blue (survey)
#0343DF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB4 #B4A72F
analogous
#2F7FB4 #2F3CB4 #642FB4
triadic
#2F3CB4 #B42F3C #3CB42F
tetradic
#2F3CB4 #B42F7F #B4A72F #2FB464
square
#2F3CB4 #B42F7F #B4A72F #2FB464
split-complementary
#2F3CB4 #B4642F #7FB42F
monochromatic
#161C53 #222C83 #2F3CB4 #4F5CD1 #8089DE
Accessibility & contrast
On white
8.66
#2F3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#2F3CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB4
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB4 | 1.00 | 8.66 | 2.43 | 8.66 |
| #FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3cb4; /* rgb */ color: rgb(47, 60, 180); /* oklch */ color: oklch(42.9% 0.188 271.0);
Tailwind
colors: {
custom: {
50: '#7c72cc',
500: '#2f3cb4',
950: '#000000',
},
}SCSS
$custom: #2f3cb4; $custom-light: #7c72cc; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb4",
"rgb": {
"r": 47,
"g": 60,
"b": 180
},
"hsl": {
"h": 234.135,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.42943,
"c": 0.18769,
"h": 271
},
"luminance": 0.07131
}Semantic roles & 50–950 ramp
primary
#2F3CB4
secondary
#C7BF78
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82