#2F3CB2#2F3CB2
#2F3CB2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.185 H 271.1°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB2 |
|---|---|
| RGB | rgb(47, 60, 178) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 74%, 70%) |
| CMYK | cmyk(73.6%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(31.92, 35.79, -64.00) |
| CIE-LCH | lch(31.92, 73.33, 299.21°) |
| OKLab | oklab(42.75% 0.0035 -0.1851) |
| OKLCH | oklch(42.75% 0.185 271.1) |
| XYZ | xyz(10.8213, 7.0493, 42.9012) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.89
Blue Blue
#2242C7
ΔE00 3.27
Ocean Blue
#4F42B5
ΔE00 4.35
Blueberry
#464196
ΔE00 5.44
Blue With A Hint Of Purple
#533CC6
ΔE00 5.64
Blue (survey)
#0343DF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB2 #B2A52F
analogous
#2F7EB2 #2F3CB2 #642FB2
triadic
#2F3CB2 #B22F3C #3CB22F
tetradic
#2F3CB2 #B22F7E #B2A52F #2FB264
square
#2F3CB2 #B22F7E #B2A52F #2FB264
split-complementary
#2F3CB2 #B2642F #7EB22F
monochromatic
#151B51 #222C82 #2F3CB2 #4E5BD0 #7E88DD
Accessibility & contrast
On white
8.71
#2F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2F3CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB2
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB2 | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2f3cb2; /* rgb */ color: rgb(47, 60, 178); /* oklch */ color: oklch(42.8% 0.185 271.1);
Tailwind
colors: {
custom: {
50: '#7b72ca',
500: '#2f3cb2',
950: '#000000',
},
}SCSS
$custom: #2f3cb2; $custom-light: #7b72ca; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb2",
"rgb": {
"r": 47,
"g": 60,
"b": 178
},
"hsl": {
"h": 234.046,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.42754,
"c": 0.18509,
"h": 271.1
},
"luminance": 0.0705
}Semantic roles & 50–950 ramp
primary
#2F3CB2
secondary
#C6BE77
accent
#D246E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82