#2F3CB6#2F3CB6
#2F3CB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.190 H 271.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2F3CB6 |
|---|---|
| RGB | rgb(47, 60, 182) |
| HSL | hsl(234, 59%, 45%) |
| HSV | hsv(234, 74%, 71%) |
| CMYK | cmyk(74.2%, 67%, 0%, 28.6%) |
| CIE-LAB | lab(32.29, 37.21, -65.78) |
| CIE-LCH | lch(32.29, 75.57, 299.50°) |
| OKLab | oklab(43.13% 0.0032 -0.1902) |
| OKLCH | oklch(43.13% 0.19 271) |
| XYZ | xyz(11.2288, 7.2123, 45.0472) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.27
Blue Blue
#2242C7
ΔE00 2.88
Ocean Blue
#4F42B5
ΔE00 4.22
Blue With A Hint Of Purple
#533CC6
ΔE00 5.27
Blue (survey)
#0343DF
ΔE00 5.48
Blueberry
#464196
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F3CB6 #B6A92F
analogous
#2F80B6 #2F3CB6 #652FB6
triadic
#2F3CB6 #B62F3C #3CB62F
tetradic
#2F3CB6 #B62F80 #B6A92F #2FB665
square
#2F3CB6 #B62F80 #B6A92F #2FB665
split-complementary
#2F3CB6 #B6652F #80B62F
monochromatic
#161C55 #222C85 #2F3CB6 #505DD2 #818ADE
Accessibility & contrast
On white
8.60
#2F3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2F3CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F3CB6
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F3CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F3CB6 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2f3cb6; /* rgb */ color: rgb(47, 60, 182); /* oklch */ color: oklch(43.1% 0.190 271.0);
Tailwind
colors: {
custom: {
50: '#7c72cd',
500: '#2f3cb6',
950: '#000000',
},
}SCSS
$custom: #2f3cb6; $custom-light: #7c72cd; $custom-dark: #000000;
JSON
{
"hex": "#2f3cb6",
"rgb": {
"r": 47,
"g": 60,
"b": 182
},
"hsl": {
"h": 234.222,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.43133,
"c": 0.19028,
"h": 271
},
"luminance": 0.07213
}Semantic roles & 50–950 ramp
primary
#2F3CB6
secondary
#C7C079
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82